Commit 726f082a authored by Julien Phalip's avatar Julien Phalip
Browse files

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
parent c3df840c
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -147,8 +147,7 @@ You should get a pleasantly-colored error page with the following message::

    ViewDoesNotExist at /polls/

    Tried index in module polls.views. Error was: 'module'
    object has no attribute 'index'
    Could not import polls.views.index. View does not exist in module polls.views.

This error happened because you haven't written a function ``index()`` in the
module ``polls/views.py``.