Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

[1.0.X] Fixed #9896 -- Corrected a couple uses of `formset.forms`, th…

…anks 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
  • Loading branch information...
commit 47de671948e4bf806a5fc14bfe51a932232705b5 1 parent 518e19a
@gdub gdub authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 docs/topics/forms/modelforms.txt
View
4 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>
Please sign in to comment.
Something went wrong with that request. Please try again.