Opened 5 years ago
Last modified 5 years ago
#30825 closed Bug
Confusing message on the default Django home page mentioning the debug settings — at Version 2
Reported by: | Therry van Neerven | Owned by: | nobody |
---|---|---|---|
Component: | Uncategorized | Version: | 2.2 |
Severity: | Normal | Keywords: | |
Cc: | Triage Stage: | Unreviewed | |
Has patch: | no | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | yes | UI/UX: | yes |
Description (last modified by )
When having no home page configured and when running the configuration with DEBUG=False the following message is shown:
You are seeing this page because DEBUG=True is in your settings file and you have not configured any URLs.
(Check the attachment for a screenshot)
This message is confusing as I'm running Django with DEBUG=False.
Also I have configured URLs, but they are not at the root of the project.
I believe that this message should be improved and stating that a the user should configure a route to replace the default page.
Update: I noticed that for this specific view the engine is forced to be in debug [source]
I still believe that the message should be changed in order to communicate correctly what's going on.
Change History (3)
by , 5 years ago
Attachment: | django-home-page-debug-message.png added |
---|
comment:1 by , 5 years ago
Description: | modified (diff) |
---|
comment:2 by , 5 years ago
Description: | modified (diff) |
---|
default home page