diff --git a/docs/topics/forms/formsets.txt b/docs/topics/forms/formsets.txt index c0f6df0855..6d2a2ba5f1 100644 --- a/docs/topics/forms/formsets.txt +++ b/docs/topics/forms/formsets.txt @@ -756,6 +756,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