From bcae5fc1b38b2182df8e6390e195d8d497406f6b Mon Sep 17 00:00:00 2001 From: Gary Wilson Jr Date: Tue, 23 Dec 2008 00:13:15 +0000 Subject: [PATCH] Fixed #9896 -- Corrected a couple uses of `formset.forms`, thanks aglzen. git-svn-id: http://code.djangoproject.com/svn/django/trunk@9672 bcc190cf-cafb-0310-a4f2-bffc1f526a37 --- docs/topics/forms/modelforms.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/topics/forms/modelforms.txt b/docs/topics/forms/modelforms.txt index 9a46ffd70c193..4360e0f2765d4 100644 --- a/docs/topics/forms/modelforms.txt +++ b/docs/topics/forms/modelforms.txt @@ -591,7 +591,7 @@ Third, you can manually render each field::
{{ formset.management_form }} - {% for form in formset.formset %} + {% for form in formset.forms %} {% for fields in form %} {{ field }} {% endfor %} @@ -604,7 +604,7 @@ if you were rendering the ``name`` and ``age`` fields of a model:: {{ formset.management_form }} - {% for form in formset.formset %} + {% for form in formset.forms %} {{ form.id }}