Permalink
Browse files

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
  • Loading branch information...
1 parent 1062b1e commit bec9009d8399c5a33508ba226f3839cd8b305484 @adrianholovaty adrianholovaty committed Jul 19, 2005
Showing with 4 additions and 2 deletions.
  1. +4 −2 docs/tutorial03.txt
View
@@ -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

0 comments on commit bec9009

Please sign in to comment.