Changeset 603
- Timestamp:
- 09/02/05 12:48:18 (3 years ago)
- Files:
-
- django/trunk/docs/tutorial04.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
django/trunk/docs/tutorial04.txt
r499 r603 103 103 tip isn't specific to Django; it's just good Web development practice. 104 104 105 As mentioned in Tutorial 3, ``request`` is a ``HTTPRequest`` object. For more 106 on ``HTTPRequest`` objects, see the `request and response documentation`_. 107 105 108 After somebody votes in a poll, the ``vote()`` view redirects to the results 106 109 page for the poll. Let's write that view:: … … 134 137 without having chosen a choice, you should see the error message. 135 138 139 .. _request and response documentation: http://www.djangoproject.com/documentation/request_response/ 140 136 141 Use generic views: Less code is better 137 142 ======================================
