mirror of https://github.com/django/django.git
Fixed #11469 -- Removed suspicion that Django developers have trouble counting to four. Thanks to msgre for the report.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@11235 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
parent
b1e645b6cd
commit
e114cbf3de
|
@ -365,7 +365,7 @@ That takes care of setting ``handler404`` in the current module. As you can see
|
||||||
in ``django/conf/urls/defaults.py``, ``handler404`` is set to
|
in ``django/conf/urls/defaults.py``, ``handler404`` is set to
|
||||||
:func:`django.views.defaults.page_not_found` by default.
|
:func:`django.views.defaults.page_not_found` by default.
|
||||||
|
|
||||||
Three more things to note about 404 views:
|
Four more things to note about 404 views:
|
||||||
|
|
||||||
* If :setting:`DEBUG` is set to ``True`` (in your settings module) then your
|
* If :setting:`DEBUG` is set to ``True`` (in your settings module) then your
|
||||||
404 view will never be used (and thus the ``404.html`` template will never
|
404 view will never be used (and thus the ``404.html`` template will never
|
||||||
|
|
Loading…
Reference in New Issue