Author: russellm Date: 2009-02-22 00:09:03 -0600 (Sun, 22 Feb 2009) New Revision: 9862
Modified: django/trunk/docs/topics/forms/index.txt Log: Fixed #10009 -- Corrected a field reference in an example on rendering hidden fields. Thanks to kari...@gmail.com for the report. Modified: django/trunk/docs/topics/forms/index.txt =================================================================== --- django/trunk/docs/topics/forms/index.txt 2009-02-22 06:08:37 UTC (rev 9861) +++ django/trunk/docs/topics/forms/index.txt 2009-02-22 06:09:03 UTC (rev 9862) @@ -57,7 +57,7 @@ A Form object encapsulates a sequence of form fields and a collection of validation rules that must be fulfilled in order for the form to be accepted. -Form classes are created as subclasses of ``django.forms.Form`` and +Form classes are created as subclasses of ``django.forms.Form`` and make use of a declarative style that you'll be familiar with if you've used Django's database models. @@ -323,7 +323,7 @@ {# Include the hidden fields in the form #} {% if forloop.first %} {% for hidden in form.hidden_fields %} - {{ field }} + {{ hidden }} {% endfor %} {% endif %} --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django updates" group. To post to this group, send email to django-updates@googlegroups.com To unsubscribe from this group, send email to django-updates+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/django-updates?hl=en -~----------~----~----~----~------~----~------~--~---