We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 0560bfb + 74003ca commit c4841b3Copy full SHA for c4841b3
docs/topics/forms/formsets.txt
@@ -88,7 +88,7 @@ The ``max_num`` parameter to ``formset_factory`` gives you the ability to
88
limit the maximum number of empty forms the formset will display::
89
90
>>> ArticleFormSet = formset_factory(ArticleForm, extra=2, max_num=1)
91
- >>> formset = ArticleFormset()
+ >>> formset = ArticleFormSet()
92
>>> for form in formset:
93
... print(form.as_table())
94
<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 commit comments