Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Fixed #2435 -- Fixed wording errors in Tutorial 4. Thanks, nicholas@a…

…quarionics.com

git-svn-id: http://code.djangoproject.com/svn/django/trunk@3456 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit c37a6fa17a29b2b3c1a53ebb59b9dbc4416b265f 1 parent eb25411
Adrian Holovaty authored

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

  1. 4  docs/tutorial04.txt
4  docs/tutorial04.txt
@@ -198,7 +198,7 @@ By default, the ``object_detail`` generic view uses a template called
198 198
 ``vote()``.
199 199
 
200 200
 Similarly, the ``object_list`` generic view uses a template called
201  
-``<app name>/<module name>_list.html``. Thus, rename ``poll/index.html`` to
  201
+``<app name>/<module name>_list.html``. Thus, rename ``polls/index.html`` to
202 202
 ``polls/poll_list.html``.
203 203
 
204 204
 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:
206 206
 ``template_name='polls/results.html'``. Otherwise, both views would use the same
207 207
 template. Note that we use ``dict()`` to return an altered dictionary in place.
208 208
 
209  
-In previous versions of the tutorial, the templates have been provided with a context
  209
+In previous parts of the tutorial, the templates have been provided with a context
210 210
 that contains the ``poll` and ``latest_poll_list`` context variables. However,
211 211
 the generic views provide the variables ``object`` and ``object_list`` as context.
212 212
 Therefore, you need to change your templates to match the new context variables.

0 notes on commit c37a6fa

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