summaryrefslogtreecommitdiff
path: root/docs/tutorial04.txt
diff options
context:
space:
mode:
authorUroš Trebec <uros.trebec@gmail.com>2006-08-03 08:18:24 +0000
committerUroš Trebec <uros.trebec@gmail.com>2006-08-03 08:18:24 +0000
commit98120e36c38a79bae40de714034da225c4e14b02 (patch)
tree52e5064cda17c4081fa9a102de8f1bf9ebdc1d94 /docs/tutorial04.txt
parenta760bd73fdb33e35e4a937ab14317fd439d25753 (diff)
[full-history] Trunk merge from [3517]
git-svn-id: http://code.djangoproject.com/svn/django/branches/full-history@3519 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'docs/tutorial04.txt')
-rw-r--r--docs/tutorial04.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/tutorial04.txt b/docs/tutorial04.txt
index 8ef4a03c6d..f234ed0ce1 100644
--- a/docs/tutorial04.txt
+++ b/docs/tutorial04.txt
@@ -198,7 +198,7 @@ By default, the ``object_detail`` generic view uses a template called
``vote()``.
Similarly, the ``object_list`` generic view uses a template called
-``<app name>/<module name>_list.html``. Thus, rename ``poll/index.html`` to
+``<app name>/<module name>_list.html``. Thus, rename ``polls/index.html`` to
``polls/poll_list.html``.
Because we have more than one entry in the URLconf that uses ``object_detail``
@@ -206,7 +206,7 @@ for the polls app, we manually specify a template name for the results view:
``template_name='polls/results.html'``. Otherwise, both views would use the same
template. Note that we use ``dict()`` to return an altered dictionary in place.
-In previous versions of the tutorial, the templates have been provided with a context
+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,
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.