Fixed #10009 -- Corrected a field reference in an example on rendering hidden fields. Thanks to karihre@gmail.com for the report.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@9862 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
Russell Keith-Magee 2009-02-22 06:09:03 +00:00
parent 39dd44570c
commit 7b9fe15a9f
1 changed files with 2 additions and 2 deletions

View File

@ -323,7 +323,7 @@ these two methods::
{# Include the hidden fields in the form #} {# Include the hidden fields in the form #}
{% if forloop.first %} {% if forloop.first %}
{% for hidden in form.hidden_fields %} {% for hidden in form.hidden_fields %}
{{ field }} {{ hidden }}
{% endfor %} {% endfor %}
{% endif %} {% endif %}