Browse files

Merge pull request #719 from JonLoy/ticket_19808

Fixed #19808 -- Typo in example
  • Loading branch information...
2 parents 0560bfb + 74003ca commit c4841b3de4ffe0047dfc2d3435c22e77b0f98d86 @aaugustin aaugustin committed Feb 12, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 docs/topics/forms/formsets.txt
View
2 docs/topics/forms/formsets.txt
@@ -88,7 +88,7 @@ The ``max_num`` parameter to ``formset_factory`` gives you the ability to
limit the maximum number of empty forms the formset will display::
>>> ArticleFormSet = formset_factory(ArticleForm, extra=2, max_num=1)
- >>> formset = ArticleFormset()
+ >>> formset = ArticleFormSet()
>>> for form in formset:
... print(form.as_table())
<tr><th><label for="id_form-0-title">Title:</label></th><td><input type="text" name="form-0-title" id="id_form-0-title" /></td></tr>

0 comments on commit c4841b3

Please sign in to comment.