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

ValueError: The view button.view.output didn't return an HttpResponse object. It returned None instead. #1

Open
twinklekaur opened this issue Jun 2, 2019 · 0 comments

Comments

@twinklekaur
Copy link

twinklekaur commented Jun 2, 2019

Sir,

Thank you so much for the tutorial. But I have an issue.
Went I click on the submit button the following error occures:

Internal Server Error: /output/
Traceback (most recent call last):
File "C:\Users\Dell\Envs\mywebsite\lib\site-packages\django\core\handlers\exception.py", line 34, in inner
response = get_response(request)
File "C:\Users\Dell\Envs\mywebsite\lib\site-packages\django\core\handlers\base.py", line 126, in _get_response
"returned None instead." % (callback.module, view_name)
ValueError: The view button.view.output didn't return an HttpResponse object. It returned None instead.
[02/Jun/2019 15:16:05] "GET /output/ HTTP/1.1" 500 55771

Here is my view.py:

view.txt

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