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

Cannot resolve keyword 'response' into field. Choices are: #858

Open
zhangxuehui opened this issue Apr 27, 2018 · 0 comments
Open

Cannot resolve keyword 'response' into field. Choices are: #858

zhangxuehui opened this issue Apr 27, 2018 · 0 comments

Comments

@zhangxuehui
Copy link

while we are executing the code as below,
try:
user = backend.do_auth(token, user=authed_user)
except Exception as e:
return Response({"error": "do_auth error","detail":e.message},
status=status.HTTP_500_INTERNAL_SERVER_ERROR)

the error message comes up:
Cannot resolve keyword 'response' into field. Choices are:...

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