mirror of
https://github.com/Tivix/django-rest-auth.git
synced 2024-11-22 17:16:34 +03:00
fix flake8
This commit is contained in:
parent
57a879f6c0
commit
3eaa491fb1
|
@ -67,7 +67,7 @@ class RegisterView(APIView, SignupView):
|
|||
def get_response(self):
|
||||
# serializer = self.user_serializer_class(instance=self.user)
|
||||
serializer = self.serializer_class(instance=self.token,
|
||||
context={'request': self.request})
|
||||
context={'request': self.request})
|
||||
return Response(serializer.data, status=status.HTTP_201_CREATED)
|
||||
|
||||
def get_response_with_errors(self):
|
||||
|
|
Loading…
Reference in New Issue
Block a user