diff --git a/docs/topics/forms/formsets.txt b/docs/topics/forms/formsets.txt index a7a5c0e7943..1624c380a1d 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