diff options
| author | Joseph Kocherhans <joseph@jkocherhans.com> | 2006-06-02 03:51:30 +0000 |
|---|---|---|
| committer | Joseph Kocherhans <joseph@jkocherhans.com> | 2006-06-02 03:51:30 +0000 |
| commit | 0c341d780ebcde0e81c81eda07e2db3aaa92549b (patch) | |
| tree | a628c9bf89260dc5da569818e1ef041262de1d6a /docs/tutorial03.txt | |
| parent | aeb807989f711c61b75c42241eea4c942becf19a (diff) | |
multi-auth: Merged to [3051]
git-svn-id: http://code.djangoproject.com/svn/django/branches/multi-auth@3052 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'docs/tutorial03.txt')
| -rw-r--r-- | docs/tutorial03.txt | 6 |
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 |
