Django

Code

Changeset 3456

Show
Ignore:
Timestamp:
07/27/06 11:16:17 (2 years ago)
Author:
adrian
Message:

Fixed #2435 -- Fixed wording errors in Tutorial 4. Thanks, nicholas@aquarionics.com

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • django/trunk/docs/tutorial04.txt

    r2923 r3456  
    199199 
    200200Similarly, 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 
    202202``polls/poll_list.html``. 
    203203 
     
    207207template. Note that we use ``dict()`` to return an altered dictionary in place. 
    208208 
    209 In previous versions of the tutorial, the templates have been provided with a context 
     209In previous parts of the tutorial, the templates have been provided with a context 
    210210that contains the ``poll` and ``latest_poll_list`` context variables. However, 
    211211the generic views provide the variables ``object`` and ``object_list`` as context.