Author: russellm Date: 2008-09-14 03:28:55 -0500 (Sun, 14 Sep 2008) New Revision: 9022
Modified: django/trunk/docs/intro/tutorial04.txt Log: Fixed #9059: Corrected some markup in tutorial 4 that incorrectly identified a template variable as a function. Thanks to zen for the report. Modified: django/trunk/docs/intro/tutorial04.txt =================================================================== --- django/trunk/docs/intro/tutorial04.txt 2008-09-14 08:15:22 UTC (rev 9021) +++ django/trunk/docs/intro/tutorial04.txt 2008-09-14 08:28:55 UTC (rev 9022) @@ -268,8 +268,8 @@ However, the generic views provide the variables ``object`` and ``object_list`` as context. Therefore, you need to change your templates to match the new context variables. Go through your templates, and modify any reference to -``latest_poll_list`` to :func:`~django.views.generic.list_detail.object_list`, -and change any reference to ``poll`` to ``object``. +``latest_poll_list`` to ``object_list``, and change any reference to ``poll`` +to ``object``. You can now delete the ``index()``, ``detail()`` and ``results()`` views from ``polls/views.py``. We don't need them anymore -- they have been replaced --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django updates" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-updates?hl=en -~----------~----~----~----~------~----~------~--~---
