﻿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
20533	Tutorial 3 content recommendation for 404 handler section	aric.beaver@…	nobody	"Document in reference:
https://docs.djangoproject.com/en/1.5/intro/tutorial03/

Permalink in reference 
https://docs.djangoproject.com/en/1.5/intro/tutorial03/#write-a-404-page-not-found-view

A description of the ALLOWED_HOSTS variable in ""settings.py"" would be applicable to this section because the ALLOWED_HOSTS variable is required if the DEBUG variable is False; as described in a comment above the ALLOWED_HOSTS line. Not mentioning this necessity at this step in the tutorial can cause confusion when creating a template for ""404.html"". The ALLOWED_HOSTS variable will cause a 500 error when incorrect when a novice user is expecting a 404 error. The ALLOWED_HOSTS variable should be set to 'localhost' for the tutorial.

Also see: 
http://stackoverflow.com/questions/15128135/django-setting-debug-false-causes-500-error

Thanks,
Aric Beaver
aric.beaver@gmail.com"	Uncategorized	closed	Documentation	1.5	Normal	duplicate	ALLOWED_HOSTS, DEBUG, 404, 500		Unreviewed	0	0	0	0	0	0
