summaryrefslogtreecommitdiff
path: root/docs/tutorial04.txt
diff options
context:
space:
mode:
authorAdrian Holovaty <adrian@holovaty.com>2005-11-01 00:49:52 +0000
committerAdrian Holovaty <adrian@holovaty.com>2005-11-01 00:49:52 +0000
commit41d5cff745c26eab9a0b6ff29d2addfef7c5303a (patch)
treeed6e77e08dc99ce68274600c5d2f673bbd804c7f /docs/tutorial04.txt
parent3226127aa29c498921f7a7e4209de229d253d21f (diff)
Fixed #548 -- Added missing step at the end of docs/tutorial04.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1034 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'docs/tutorial04.txt')
-rw-r--r--docs/tutorial04.txt3
1 files changed, 3 insertions, 0 deletions
diff --git a/docs/tutorial04.txt b/docs/tutorial04.txt
index 737d8deb1f..4f9ef3baff 100644
--- a/docs/tutorial04.txt
+++ b/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/polls.py``. We don't need them anymore.