summaryrefslogtreecommitdiff
path: root/docs/tutorial03.txt
diff options
context:
space:
mode:
Diffstat (limited to 'docs/tutorial03.txt')
-rw-r--r--docs/tutorial03.txt6
1 files changed, 3 insertions, 3 deletions
diff --git a/docs/tutorial03.txt b/docs/tutorial03.txt
index f368d54c53..3a830eb76f 100644
--- a/docs/tutorial03.txt
+++ b/docs/tutorial03.txt
@@ -209,13 +209,13 @@ So let's use Django's template system to separate the design from Python::
})
return HttpResponse(t.render(c))
-That code loads the template called "polls/index" and passes it a context. The
+That code loads the template called "polls/index.html" and passes it a context. The
context is a dictionary mapping template variable names to Python objects.
Reload the page. Now you'll see an error::
- TemplateDoesNotExist: Your TEMPLATE_DIRS settings is empty.
- Change it to point to at least one template directory.
+ TemplateDoesNotExist at /polls/
+ polls/index.html
Ah. There's no template yet. First, create a directory, somewhere on your
filesystem, whose contents Django can access. (Django runs as whatever user