Changeset 3456
- Timestamp:
- 07/27/06 11:16:17 (2 years ago)
- Files:
-
- django/trunk/docs/tutorial04.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
django/trunk/docs/tutorial04.txt
r2923 r3456 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`` to201 ``<app name>/<module name>_list.html``. Thus, rename ``polls/index.html`` to 202 202 ``polls/poll_list.html``. 203 203 … … 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 context209 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.
