summaryrefslogtreecommitdiff
path: root/docs/tutorial03.txt
diff options
context:
space:
mode:
authorAdrian Holovaty <adrian@holovaty.com>2005-07-19 14:41:08 +0000
committerAdrian Holovaty <adrian@holovaty.com>2005-07-19 14:41:08 +0000
commitbec9009d8399c5a33508ba226f3839cd8b305484 (patch)
tree91bdf86fb065488c73b0da92a86f01e01439e3c5 /docs/tutorial03.txt
parent1062b1e042b1c920c73ae12384086027521e3b8a (diff)
Changed tutorial03 to match the new error message from [193]
git-svn-id: http://code.djangoproject.com/svn/django/trunk@202 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'docs/tutorial03.txt')
-rw-r--r--docs/tutorial03.txt6
1 files changed, 4 insertions, 2 deletions
diff --git a/docs/tutorial03.txt b/docs/tutorial03.txt
index 173428788b..757b53334d 100644
--- a/docs/tutorial03.txt
+++ b/docs/tutorial03.txt
@@ -122,7 +122,8 @@ Then, fire up the Django development Web server, as we also did in Tutorial 2::
Now go to "http://localhost:8000/polls/" on your domain in your Web browser.
You should get a Python traceback with the following error message::
- ViewDoesNotExist: myproject.polls.views.polls.index
+ ViewDoesNotExist: Tried myproject.apps.polls.views.polls.index.
+ Error was: 'module' object has no attribute 'index'
Try "/polls/23/", "/polls/23/results/" and "/polls/23/vote/". The error
messages should tell you which view Django tried (and failed to find, because
@@ -200,7 +201,8 @@ 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: Your TEMPLATE_DIRS settings is empty.
+ Change it to point to at least one template directory.
Ah. There's no template yet. First, create a directory, somewhere on your
filesystem, whose contents Django can access. (Django runs as whatever user