summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorGary Wilson Jr <gary.wilson@gmail.com>2008-12-23 00:15:03 +0000
committerGary Wilson Jr <gary.wilson@gmail.com>2008-12-23 00:15:03 +0000
commit47de671948e4bf806a5fc14bfe51a932232705b5 (patch)
tree6d02c1b83ad463bc9dd6feaa1736fd7d72629fac /docs
parent518e19a36305b550d29457f1da3f251a886b11e9 (diff)
[1.0.X] Fixed #9896 -- Corrected a couple uses of `formset.forms`, thanks aglzen.
Backport of r9672 from trunk. git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9673 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'docs')
-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>