Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Fixed #9884 -- Corrected template example in model forms documentatio…

…n, thanks bradmontgomery.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@9676 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit 7bf9626adb51563b1db3c1761b6a7a9da17b8bb5 1 parent 0573712
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
@@ -592,8 +592,8 @@ Third, you can manually render each field::
592 592
     <form method="POST" action="">
593 593
         {{ formset.management_form }}
594 594
         {% for form in formset.forms %}
595  
-            {% for fields in form %}
596  
-                {{ field }}
  595
+            {% for field in form %}
  596
+                {{ field.label_tag }}: {{ field }}
597 597
             {% endfor %}
598 598
         {% endfor %}
599 599
     </form>

0 notes on commit 7bf9626

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