summaryrefslogtreecommitdiff
path: root/docs/topics
diff options
context:
space:
mode:
authorGary Wilson Jr <gary.wilson@gmail.com>2008-12-23 00:13:15 +0000
committerGary Wilson Jr <gary.wilson@gmail.com>2008-12-23 00:13:15 +0000
commitbcae5fc1b38b2182df8e6390e195d8d497406f6b (patch)
tree629e07a532ab56838b368de587ae12926e5750b8 /docs/topics
parentc56535295466e201e330c5d36f04542636f0f6bb (diff)
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
Diffstat (limited to 'docs/topics')
-rw-r--r--docs/topics/forms/modelforms.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/topics/forms/modelforms.txt b/docs/topics/forms/modelforms.txt
index 9a46ffd70c..4360e0f276 100644
--- a/docs/topics/forms/modelforms.txt
+++ b/docs/topics/forms/modelforms.txt
@@ -591,7 +591,7 @@ Third, you can manually render each field::
<form method="POST" action="">
{{ 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::
<form method="POST" action="">
{{ formset.management_form }}
- {% for form in formset.formset %}
+ {% for form in formset.forms %}
{{ form.id }}
<ul>
<li>{{ form.name }}</li>