Skip to content

Commit c4841b3

Browse files
committed
Merge pull request django#719 from JonLoy/ticket_19808
Fixed #19808 -- Typo in example
2 parents 0560bfb + 74003ca commit c4841b3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/topics/forms/formsets.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ The ``max_num`` parameter to ``formset_factory`` gives you the ability to
8888
limit the maximum number of empty forms the formset will display::
8989

9090
>>> ArticleFormSet = formset_factory(ArticleForm, extra=2, max_num=1)
91-
>>> formset = ArticleFormset()
91+
>>> formset = ArticleFormSet()
9292
>>> for form in formset:
9393
... print(form.as_table())
9494
<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

Comments
 (0)