id summary reporter owner description type status component version severity resolution keywords cc stage has_patch needs_docs needs_tests needs_better_patch easy ui_ux 20239 Clarify 404 handling when DEBUG = FALSE in tutorial JamesDomingo nobody "The section titled [https://docs.djangoproject.com/en/1.5/intro/tutorial03/#write-a-404-page-not-found-view Write a 404 (page not found) view] in the tutorial for version 1.5 needs to clarify what happens when the DEBUG setting is FALSE. In version 1.5, the [https://docs.djangoproject.com/en/1.5/releases/1.5/#allowed-hosts-required-in-production default value for ALLOWED_HOSTS changed]. If a developer following the tutorial creates a custom 404 template and sets DEBUG to FALSE, she will get a 500 server error. To see the custom 404 template, she needs to change ALLOWED_HOSTS (e.g., {{{ALLOWED_HOSTS = ['localhost'] }}})." Uncategorized closed Documentation 1.5 Normal duplicate Unreviewed 0 0 0 0 0 0