From c819252bf5e590b9bf66eb71d42938bb1ade2072 Mon Sep 17 00:00:00 2001 From: Russell Keith-Magee Date: Sat, 19 Jul 2008 11:27:55 +0000 Subject: [PATCH] Fixed #7832 -- Corrected a formatting error in the newforms docs. Thanks to omat@gezgin.com for the report. git-svn-id: http://code.djangoproject.com/svn/django/trunk@7978 bcc190cf-cafb-0310-a4f2-bffc1f526a37 --- docs/newforms.txt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/newforms.txt b/docs/newforms.txt index c3f4a2c21c..88b25be915 100644 --- a/docs/newforms.txt +++ b/docs/newforms.txt @@ -2196,7 +2196,7 @@ form:: ... pub_date = forms.DateField() You might want to allow the user to create several articles at once. To create -a formset of ``ArticleForm``s you would do:: +a formset of out of an ``ArticleForm`` you would do:: >>> from django.newforms.formsets import formset_factory >>> ArticleFormSet = formset_factory(ArticleForm) @@ -2471,8 +2471,8 @@ default fields/attributes of the order and deletion fields:: -Using a formsets in views and templates ---------------------------------------- +Using a formset in views and templates +-------------------------------------- Using a formset inside a view is as easy as using a regular ``Form`` class. The only thing you will want to be aware of is making sure to use the