Opened 4 years ago

Last modified 4 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 Therry van Neerven)

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 Therry van Neerven, 4 years ago

default home page

comment:1 by Therry van Neerven, 4 years ago

Description: modified (diff)

comment:2 by Therry van Neerven, 4 years ago

Description: modified (diff)
Note: See TracTickets for help on using tickets.
Back to Top