Django

Code

Changeset 5651

Show
Ignore:
Timestamp:
07/11/07 23:44:45 (1 year ago)
Author:
adrian
Message:

Edited changes to docs/tutorial04.txt from [5649]

Files:

Legend:

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

    r5649 r5651  
    211211 
    212212    * We've added a name, ``poll_results``, to the results view so that we have 
    213       a way to refer to its url later on (see `naming URL patterns`_ for more on 
     213      a way to refer to its URL later on (see `naming URL patterns`_ for more on 
    214214      named patterns). 
    215215       
     
    262262context instead of ``poll``. 
    263263 
    264 The last thing to do is fix the url handling to account for the use of generic 
    265 views. In the vote view above we used the ``reverse()`` function to avoid 
     264The last thing to do is fix the URL handling to account for the use of generic 
     265views. In the vote view above, we used the ``reverse()`` function to avoid 
    266266hard-coding our URLs. Now that we've switched to a generic view, we'll need to 
    267267change the ``reverse()`` call to point back to our new generic view. We can't