diff options
| author | Adrian Holovaty <adrian@holovaty.com> | 2006-05-16 20:45:20 +0000 |
|---|---|---|
| committer | Adrian Holovaty <adrian@holovaty.com> | 2006-05-16 20:45:20 +0000 |
| commit | 27612d8b7d9263d883b83331883c7bbe862122e0 (patch) | |
| tree | 638b5cb0bccc37d6841c61d0181cd9a35100092d /docs/tutorial04.txt | |
| parent | aa6b13c96bb76f1603adf9fcf512ac842d478f32 (diff) | |
Fixed #1833 -- Fixed some errors in tutorials. Thanks, quarkcool@yahoo.fr
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2923 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'docs/tutorial04.txt')
| -rw-r--r-- | docs/tutorial04.txt | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/docs/tutorial04.txt b/docs/tutorial04.txt index 67974327a3..8ef4a03c6d 100644 --- a/docs/tutorial04.txt +++ b/docs/tutorial04.txt @@ -218,8 +218,9 @@ from ``polls/views.py``. We don't need them anymore -- they have been replaced by generic views. The ``vote()`` view is still required. However, it must be modified to match -the new templates and context variables. Change the template call from ``polls/detail`` -to ``polls/polls_detail``, and pass ``object`` in the context instead of ``poll``. +the new templates and context variables. Change the template call from +``polls/detail.html`` to ``polls/poll_detail.html``, and pass ``object`` in the +context instead of ``poll``. Run the server, and use your new polling app based on generic views. |
