Changeset 5651
- Timestamp:
- 07/11/07 23:44:45 (1 year ago)
- Files:
-
- django/trunk/docs/tutorial04.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
django/trunk/docs/tutorial04.txt
r5649 r5651 211 211 212 212 * We've added a name, ``poll_results``, to the results view so that we have 213 a way to refer to its urllater on (see `naming URL patterns`_ for more on213 a way to refer to its URL later on (see `naming URL patterns`_ for more on 214 214 named patterns). 215 215 … … 262 262 context instead of ``poll``. 263 263 264 The last thing to do is fix the urlhandling to account for the use of generic265 views. In the vote view above we used the ``reverse()`` function to avoid264 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 266 266 hard-coding our URLs. Now that we've switched to a generic view, we'll need to 267 267 change the ``reverse()`` call to point back to our new generic view. We can't
