Kaydet (Commit) bd3a1c00 authored tarafından Russell Keith-Magee's avatar Russell Keith-Magee

Fixed #6998 -- Corrected typo in Tutorial 4. Thanks, Peter Upfold.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@7410 bcc190cf-cafb-0310-a4f2-bffc1f526a37
üst 1972f052
...@@ -266,7 +266,7 @@ from ``polls/views.py``. We don't need them anymore -- they have been replaced ...@@ -266,7 +266,7 @@ from ``polls/views.py``. We don't need them anymore -- they have been replaced
by generic views. by generic views.
The ``vote()`` view is still required. However, it must be modified to match The ``vote()`` view is still required. However, it must be modified to match
the new context variables. In the ``render_to_repsonse()`` call, rename the the new context variables. In the ``render_to_response()`` call, rename the
``poll`` context variable to ``object``. ``poll`` context variable to ``object``.
The last thing to do is fix the URL handling to account for the use of generic The last thing to do is fix the URL handling to account for the use of generic
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment