HackSoftware/Django-React-GoogleOauth2-Example

error when post to http://127.0.0.1:8000/api/v1/auth/login/

DaoSYi opened this issue · 1 comments

Django-React-GoogleOauth2-Example/server/auth/apis.py", line 26, in post
user = serializer.object.get('user') or request.user
AttributeError: 'JSONWebTokenSerializer' object has no attribute 'object'

Hello 👋

We'll be moving this repository to our Django Styleguide Example - HackSoftware/Django-Styleguide-Example#330 - so the examples are supported.

I'll update this issue when this has happened & close the comment then.