Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Fixed #9896 -- Corrected a couple uses of `formset.forms`, thanks agl…

…zen.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@9672 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit bcae5fc1b38b2182df8e6390e195d8d497406f6b 1 parent c565352
Gary Wilson Jr. authored December 23, 2008

Showing 1 changed file with 2 additions and 2 deletions. Show diff stats Hide diff stats

  1. 4  docs/topics/forms/modelforms.txt
4  docs/topics/forms/modelforms.txt
@@ -591,7 +591,7 @@ Third, you can manually render each field::
591 591
 
592 592
     <form method="POST" action="">
593 593
         {{ formset.management_form }}
594  
-        {% for form in formset.formset %}
  594
+        {% for form in formset.forms %}
595 595
             {% for fields in form %}
596 596
                 {{ field }}
597 597
             {% endfor %}
@@ -604,7 +604,7 @@ if you were rendering the ``name`` and ``age`` fields of a model::
604 604
 
605 605
     <form method="POST" action="">
606 606
         {{ formset.management_form }}
607  
-        {% for form in formset.formset %}
  607
+        {% for form in formset.forms %}
608 608
             {{ form.id }}
609 609
             <ul>
610 610
                 <li>{{ form.name }}</li>

0 notes on commit bcae5fc

Please sign in to comment.
Something went wrong with that request. Please try again.