#"view accounts.views.home didn't return an HttpResponse object"

5 messages · Page 1 of 1 (latest)

cunning sonnet
#

My project has a login page that directs to a page with a checklist. It was working where the user could sign in, but now i am getting this error

ValueError at /
The view accounts.views.home didn't return an HttpResponse object. It returned None instead.
Request Method: GET
Request URL: http://127.0.0.1:8000/
Django Version: 5.0.6
Exception Type: ValueError
Exception Value:
The view accounts.views.home didn't return an HttpResponse object. It returned None instead.
Exception Location: C:\Users\fearonl\AppData\Local\Programs\Python\Python312-32\Lib\site-packages\django\core\handlers\base.py, line 332, in check_response
Raised during: accounts.views.home
Python Executable: C:\Users\fearonl\AppData\Local\Programs\Python\Python312-32\python.exe
Python Version: 3.12.4
Python Path:
['C:\Users\fearonl\alist_final\alist',
'C:\Users\fearonl\AppData\Local\Programs\Python\Python312-32\python312.zip',
'C:\Users\fearonl\AppData\Local\Programs\Python\Python312-32\DLLs',
'C:\Users\fearonl\AppData\Local\Programs\Python\Python312-32\Lib',
'C:\Users\fearonl\AppData\Local\Programs\Python\Python312-32',
'C:\Users\fearonl\AppData\Local\Programs\Python\Python312-32\Lib\site-packages']

The url paths are still the same. I am not sure why it isnt working. Does anyone have any advice?

strange sedge
#

can't diagnose it without seeing the view code

#

I'd start with the assumption that the error message is correct

final schooner
strange sedge
#

How does that answer OP's question?