mirror of
https://github.com/Tivix/django-rest-auth.git
synced 2025-02-14 08:50:35 +03:00
well, that was an easy cleanup, now it is nice and consistent
This commit is contained in:
parent
bd193a1401
commit
4a3ea85f44
|
@ -26,7 +26,6 @@ class Register(APIView, SignupView):
|
||||||
"""
|
"""
|
||||||
|
|
||||||
permission_classes = (AllowAny,)
|
permission_classes = (AllowAny,)
|
||||||
# user_serializer_class = UserDetailsSerializer
|
|
||||||
allowed_methods = ('POST', 'OPTIONS', 'HEAD')
|
allowed_methods = ('POST', 'OPTIONS', 'HEAD')
|
||||||
token_model = Token
|
token_model = Token
|
||||||
serializer_class = TokenSerializer
|
serializer_class = TokenSerializer
|
||||||
|
|
Loading…
Reference in New Issue
Block a user