Opened 11 years ago

Closed 11 years ago

#20171 closed Uncategorized (duplicate)

DEBUG and ALLOWED_HOSTS documentation

Reported by: sting606@… Owned by: nobody
Component: Documentation Version: 1.5
Severity: Normal Keywords: documentation, logging
Cc: Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

documentation under DEBUG should warn that it is required to set ALLOWED_HOSTS when setting DEBUG to False
https://docs.djangoproject.com/en/1.5/ref/settings/#debug

moreover, if ALLOWED_HOSTS is left blank then there is no error reported to httpd log file to explain the 500 http status which was very frustrating for me to figure out what was wrong

Change History (3)

comment:1 by Gert van Dijk, 11 years ago

This has been reported numerous times. At least related are:

comment:2 by anonymous, 11 years ago

indeed a duplicate, apologizes

comment:3 by Carl Meyer, 11 years ago

Resolution: duplicate
Status: newclosed

Thanks for the report, we definitely need some improvement here, still working out exactly which improvement(s). Closing as dupe of #19875.

Note: See TracTickets for help on using tickets.
Back to Top