Skip to content

Commit

Permalink
Fixed #9896 -- Corrected a couple uses of formset.forms, thanks agl…
Browse files Browse the repository at this point in the history
…zen.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@9672 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information
gdub committed Dec 23, 2008
1 parent c565352 commit bcae5fc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/topics/forms/modelforms.txt
Expand Up @@ -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 %}
Expand All @@ -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>
Expand Down

0 comments on commit bcae5fc

Please sign in to comment.