Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Browse files

Fixed #548 -- Added missing step at the end of docs/tutorial04.txt

git-svn-id: bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
1 parent 3226127 commit 41d5cff745c26eab9a0b6ff29d2addfef7c5303a @adrianholovaty adrianholovaty committed
Showing with 3 additions and 0 deletions.
  1. +3 −0  docs/tutorial04.txt
3  docs/tutorial04.txt
@@ -213,6 +213,9 @@ The generic views pass ``object`` and ``object_list`` to their templates, so
change your templates so that ``latest_poll_list`` becomes ``object_list`` and
``poll`` becomes ``object``.
+In the ``vote()`` view, change the template call from ``polls/detail`` to
+``polls/polls_detail``, and pass ``object`` in the context instead of ``poll``.
Finally, you can delete the ``index()``, ``detail()`` and ``results()`` views
from ``polls/views/``. We don't need them anymore.

0 comments on commit 41d5cff

Please sign in to comment.
Something went wrong with that request. Please try again.