fix flake8

This commit is contained in:
Mateusz Sikora 2015-11-06 14:09:47 +01:00
parent 57a879f6c0
commit 3eaa491fb1

View File

@ -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):