Edited docs/request_response.txt changes from [6808]

git-svn-id: http://code.djangoproject.com/svn/django/trunk@6881 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
Adrian Holovaty 2007-12-04 06:16:28 +00:00
parent 5d7a18bd2e
commit 803b95c6a4
1 changed files with 3 additions and 3 deletions

View File

@ -560,10 +560,10 @@ Three things to note about 404 views:
you must create a ``404.html`` template in the root of your you must create a ``404.html`` template in the root of your
template directory. The default 404 view will use that template template directory. The default 404 view will use that template
for all 404 errors. The default 404 view will pass one variable for all 404 errors. The default 404 view will pass one variable
to the template: ``request_path``, which is the URL which to the template: ``request_path``, which is the URL that resulted
resulted in the 404. in the 404.
* If ``DEBUG`` is set to ``True`` (in your settings module) then your 404 * If ``DEBUG`` is set to ``True`` (in your settings module), then your 404
view will never be used, and the traceback will be displayed instead. view will never be used, and the traceback will be displayed instead.
The 500 (server error) view The 500 (server error) view