Fixed #17206 -- Fixed an outdated error message in the tutorial part 3. Thanks, rabio.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@17082 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
Julien Phalip 2011-11-12 13:30:05 +00:00
parent c3df840c20
commit 726f082aa9
1 changed files with 1 additions and 2 deletions

View File

@ -147,8 +147,7 @@ You should get a pleasantly-colored error page with the following message::
ViewDoesNotExist at /polls/ ViewDoesNotExist at /polls/
Tried index in module polls.views. Error was: 'module' Could not import polls.views.index. View does not exist in module polls.views.
object has no attribute 'index'
This error happened because you haven't written a function ``index()`` in the This error happened because you haven't written a function ``index()`` in the
module ``polls/views.py``. module ``polls/views.py``.