Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fixed ReST error in docs/tutorial04.txt. Thanks, Dave Abrahams

git-svn-id: http://code.djangoproject.com/svn/django/trunk@3882 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit 7d5f6fe0f4895e46646430109efcb3d3b8005050 1 parent 555ac9c
@adrianholovaty adrianholovaty authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  docs/tutorial04.txt
View
2  docs/tutorial04.txt
@@ -207,7 +207,7 @@ for the polls app, we manually specify a template name for the results view:
template. Note that we use ``dict()`` to return an altered dictionary in place.
In previous parts of the tutorial, the templates have been provided with a context
-that contains the ``poll` and ``latest_poll_list`` context variables. However,
+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
Please sign in to comment.
Something went wrong with that request. Please try again.