Commit 857de3ea authored by delanoe's avatar delanoe

[FIX] login required. TODO: REST more secure.

parent 5964c948
......@@ -69,8 +69,8 @@ class APIException(_APIException):
from rest_framework.decorators import api_view
@login_required
#@login_required
# TODO how to secure REST ?
class Ngrams(APIView):
'''
REST application to manage ngrams
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment