Skip to content
This repository


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Fixed #9059: Corrected some markup in tutorial 4 that incorrectly ide…

…ntified a template variable as a function. Thanks to zen for the report.

git-svn-id: bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit 7931da87ecbce863f5c70b8b6ab4e9fc826fefef 1 parent a8d2810
Russell Keith-Magee authored September 14, 2008

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

  1. 4  docs/intro/tutorial04.txt
4  docs/intro/tutorial04.txt
@@ -268,8 +268,8 @@ context that contains the ``poll`` and ``latest_poll_list`` context variables.
268 268
 However, the generic views provide the variables ``object`` and ``object_list``
269 269
 as context. Therefore, you need to change your templates to match the new
270 270
 context variables. Go through your templates, and modify any reference to
-``latest_poll_list`` to :func:`~django.views.generic.list_detail.object_list`,
-and change any reference to ``poll`` to ``object``.
+``latest_poll_list`` to ``object_list``, and change any reference to ``poll``
+to ``object``.
273 273
274 274
 You can now delete the ``index()``, ``detail()`` and ``results()`` views
275 275
 from ``polls/``. We don't need them anymore -- they have been replaced

0 notes on commit 7931da8

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