From 2fd61285d109a04bf22d1822e834cbb7bcf4239f Mon Sep 17 00:00:00 2001 From: Tim Graham Date: Mon, 20 May 2013 13:56:19 -0400 Subject: [PATCH] Fixed #20471 - Typos in topics/forms/formsets.txt --- docs/topics/forms/formsets.txt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/topics/forms/formsets.txt b/docs/topics/forms/formsets.txt index 68551d380b..8745e9761d 100644 --- a/docs/topics/forms/formsets.txt +++ b/docs/topics/forms/formsets.txt @@ -58,7 +58,7 @@ example:: >>> import datetime >>> from django.forms.formsets import formset_factory - >>> from myapp.forms imporrt ArticleForm + >>> from myapp.forms import ArticleForm >>> ArticleFormSet = formset_factory(ArticleForm, extra=2) >>> formset = ArticleFormSet(initial=[ ... {'title': u'Django is now open source', @@ -92,7 +92,7 @@ gives you the ability to limit the maximum number of empty forms the formset will display:: >>> from django.forms.formsets import formset_factory - >>> from myapp.forms imporrt ArticleForm + >>> from myapp.forms import ArticleForm >>> ArticleFormSet = formset_factory(ArticleForm, extra=2, max_num=1) >>> formset = ArticleFormSet() >>> for form in formset: @@ -130,7 +130,7 @@ an ``is_valid`` method on the formset to provide a convenient way to validate all forms in the formset:: >>> from django.forms.formsets import formset_factory - >>> from myapp.forms imporrt ArticleForm + >>> from myapp.forms import ArticleForm >>> ArticleFormSet = formset_factory(ArticleForm) >>> data = { ... 'form-TOTAL_FORMS': u'1',