Django-React-GoogleOauth2-Example icon indicating copy to clipboard operation
Django-React-GoogleOauth2-Example copied to clipboard

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

Open DaoSYi opened this issue 3 years ago • 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'

DaoSYi avatar Sep 26 '22 08:09 DaoSYi

Hello :wave:

We'll be moving this repository to our Django Styleguide Example - https://github.com/HackSoftware/Django-Styleguide-Example/issues/330 - so the examples are supported.

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

RadoRado avatar Feb 02 '23 14:02 RadoRado