mirror of https://github.com/django/django.git
Fixed #8277: corrected minor typo in docs/forms.txt.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8367 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
parent
ece6e166e2
commit
e149bee93e
|
@ -2153,7 +2153,7 @@ form::
|
||||||
... pub_date = forms.DateField()
|
... pub_date = forms.DateField()
|
||||||
|
|
||||||
You might want to allow the user to create several articles at once. To create
|
You might want to allow the user to create several articles at once. To create
|
||||||
a formset of out of an ``ArticleForm`` you would do::
|
a formset out of an ``ArticleForm`` you would do::
|
||||||
|
|
||||||
>>> from django.forms.formsets import formset_factory
|
>>> from django.forms.formsets import formset_factory
|
||||||
>>> ArticleFormSet = formset_factory(ArticleForm)
|
>>> ArticleFormSet = formset_factory(ArticleForm)
|
||||||
|
|
Loading…
Reference in New Issue