Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Seem having a error on Djoser server [HttpResponse status_code=503] #682

Open
kev26 opened this issue Jul 26, 2022 · 1 comment
Open

Seem having a error on Djoser server [HttpResponse status_code=503] #682

kev26 opened this issue Jul 26, 2022 · 1 comment

Comments

@kev26
Copy link

kev26 commented Jul 26, 2022

My code running good, but now seem having a error on Djoser server. I can not get auth_token when I use client.post with my data.

  File "/home/kev/work/project/gg/my-project/accounts/utils.py", line 65, in login_with_token
    token = resp.data["auth_token"]
AttributeError: 'HttpResponse' object has no attribute 'data'

Pls check ! Thank so much !

@kev26 kev26 closed this as completed Jul 27, 2022
@kev26 kev26 reopened this Aug 9, 2022
@kev26
Copy link
Author

kev26 commented Aug 9, 2022

pls help !

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

No branches or pull requests

1 participant