You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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 !
The text was updated successfully, but these errors were encountered:
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.
Pls check ! Thank so much !
The text was updated successfully, but these errors were encountered: