summaryrefslogtreecommitdiff
path: root/docs/intro
diff options
context:
space:
mode:
authorRussell Keith-Magee <russell@keith-magee.com>2008-09-14 08:28:55 +0000
committerRussell Keith-Magee <russell@keith-magee.com>2008-09-14 08:28:55 +0000
commit7931da87ecbce863f5c70b8b6ab4e9fc826fefef (patch)
tree7cd1ae0b8ec0ef9bae6e8bb5efb50ab072affaf3 /docs/intro
parenta8d2810be56f3c69ad884d04aa589622e7ec6117 (diff)
downloaddjango-7931da87ecbce863f5c70b8b6ab4e9fc826fefef.tar.gz
Fixed #9059: Corrected some markup in tutorial 4 that incorrectly identified a template variable as a function. Thanks to zen for the report.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9022 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'docs/intro')
-rw-r--r--docs/intro/tutorial04.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/intro/tutorial04.txt b/docs/intro/tutorial04.txt
index 639d67c23b..5b903b0271 100644
--- a/docs/intro/tutorial04.txt
+++ b/docs/intro/tutorial04.txt
@@ -268,8 +268,8 @@ context that contains the ``poll`` and ``latest_poll_list`` context variables.
However, the generic views provide the variables ``object`` and ``object_list``
as context. Therefore, you need to change your templates to match the new
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``.
You can now delete the ``index()``, ``detail()`` and ``results()`` views
from ``polls/views.py``. We don't need them anymore -- they have been replaced