Skip to content
This repository has been archived by the owner on Jun 13, 2023. It is now read-only.

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

Open
DaoSYi opened this issue Sep 26, 2022 · 1 comment
Open

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

DaoSYi opened this issue Sep 26, 2022 · 1 comment

Comments

@DaoSYi
Copy link

DaoSYi commented Sep 26, 2022

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'

@RadoRado
Copy link
Member

RadoRado commented Feb 2, 2023

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.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants