diff options
| author | Timo Graham <timograham@gmail.com> | 2011-01-26 00:58:41 +0000 |
|---|---|---|
| committer | Timo Graham <timograham@gmail.com> | 2011-01-26 00:58:41 +0000 |
| commit | 1b961e8ee39424c20b6062f56a998722c5864f39 (patch) | |
| tree | cc3d6716724457f38dfd9aa4f0aee9bbba4d34e1 /docs/intro/tutorial04.txt | |
| parent | a981f5b988ad711de7ea941b15ce4b0dacbe1add (diff) | |
Fixed #15153 - removed obsolete sentence in tutorial; thanks LeSphinx for the report.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@15313 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'docs/intro/tutorial04.txt')
| -rw-r--r-- | docs/intro/tutorial04.txt | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/docs/intro/tutorial04.txt b/docs/intro/tutorial04.txt index 2ce6020cc5..ded5cb2199 100644 --- a/docs/intro/tutorial04.txt +++ b/docs/intro/tutorial04.txt @@ -306,11 +306,6 @@ You can now delete the ``index()``, ``detail()`` and ``results()`` views 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 context variables. In the -:func:`~django.shortcuts.render_to_response` call, rename the ``poll`` -context variable to ``object``. - The last thing to do is fix the URL handling to account for the use of generic views. In the vote view above, we used the :func:`~django.core.urlresolvers.reverse` function to avoid |
