Opened 12 years ago
Closed 12 years ago
#20171 closed Uncategorized (duplicate)
DEBUG and ALLOWED_HOSTS documentation
Reported by: | 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 , 12 years ago
comment:3 by , 12 years ago
Resolution: | → duplicate |
---|---|
Status: | new → closed |
Thanks for the report, we definitely need some improvement here, still working out exactly which improvement(s). Closing as dupe of #19875.
This has been reported numerous times. At least related are: