Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

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
  • Loading branch information...
commit 41d5cff745c26eab9a0b6ff29d2addfef7c5303a 1 parent 3226127
Adrian Holovaty authored

Showing 1 changed file with 3 additions and 0 deletions. Show diff stats Hide diff stats

  1. 3  docs/tutorial04.txt
3  docs/tutorial04.txt
@@ -213,6 +213,9 @@ The generic views pass ``object`` and ``object_list`` to their templates, so
213 213
 change your templates so that ``latest_poll_list`` becomes ``object_list`` and
214 214
 ``poll`` becomes ``object``.
215 215
 
  216
+In the ``vote()`` view, change the template call from ``polls/detail`` to
  217
+``polls/polls_detail``, and pass ``object`` in the context instead of ``poll``.
  218
+
216 219
 Finally, you can delete the ``index()``, ``detail()`` and ``results()`` views
217 220
 from ``polls/views/polls.py``. We don't need them anymore.
218 221
 

0 notes on commit 41d5cff

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