From 6ecadcbdd2d2d34948e6482bfffe2c818887b39e Mon Sep 17 00:00:00 2001 From: Adrian Holovaty Date: Fri, 3 Feb 2012 20:45:45 +0000 Subject: Made a bunch more edits up until [17418] git-svn-id: http://code.djangoproject.com/svn/django/trunk@17428 bcc190cf-cafb-0310-a4f2-bffc1f526a37 --- docs/intro/tutorial03.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'docs/intro') diff --git a/docs/intro/tutorial03.txt b/docs/intro/tutorial03.txt index 4347c680a8..5ed927a9df 100644 --- a/docs/intro/tutorial03.txt +++ b/docs/intro/tutorial03.txt @@ -365,11 +365,11 @@ special: It's just a normal view. You normally won't have to bother with writing 404 views. If you don't set ``handler404``, the built-in view :func:`django.views.defaults.page_not_found` -is used by default. In this case, you still have one obligation: To create a +is used by default. In this case, you still have one obligation: create a ``404.html`` template in the root of your template directory. The default 404 view will use that template for all 404 errors. If :setting:`DEBUG` is set to ``False`` (in your settings module) and if you didn't create a ``404.html`` -file, an ``Http500`` is raised instead. So remember to create a ``404.html``. +file, an ``Http500`` is raised instead. So remember to create a ``404.html``. A couple more things to note about 404 views: -- cgit v1.3