summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
Diffstat (limited to 'docs')
-rw-r--r--docs/topics/forms/formsets.txt3
1 files changed, 3 insertions, 0 deletions
diff --git a/docs/topics/forms/formsets.txt b/docs/topics/forms/formsets.txt
index a7a5c0e794..1624c380a1 100644
--- a/docs/topics/forms/formsets.txt
+++ b/docs/topics/forms/formsets.txt
@@ -748,6 +748,9 @@ argument - the index of the form in the formset. The index is ``None`` for the
... kwargs['custom_kwarg'] = index
... return kwargs
+ >>> ArticleFormSet = formset_factory(MyArticleForm, formset=BaseArticleFormSet)
+ >>> formset = ArticleFormSet()
+
.. _formset-prefix:
Customizing a formset's prefix