From 4e81086021e76874652d7c8eb52de39ab38c43f4 Mon Sep 17 00:00:00 2001 From: Russell Keith-Magee Date: Wed, 16 Dec 2009 15:15:41 +0000 Subject: [PATCH] Cleaned up some stray text in the test from r11874. Thanks to Rob Hudson for the eagle eyes. git-svn-id: http://code.djangoproject.com/svn/django/trunk@11876 bcc190cf-cafb-0310-a4f2-bffc1f526a37 --- tests/modeltests/model_formsets/models.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/modeltests/model_formsets/models.py b/tests/modeltests/model_formsets/models.py index 6b70826ab5..5c62885be5 100644 --- a/tests/modeltests/model_formsets/models.py +++ b/tests/modeltests/model_formsets/models.py @@ -646,7 +646,7 @@ True We can provide a custom queryset to our InlineFormSet: ->>> custom_qs = queryset=Book.objects.order_by('-title') +>>> custom_qs = Book.objects.order_by('-title') >>> formset = AuthorBooksFormSet(instance=author, queryset=custom_qs) >>> for form in formset.forms: ... print form.as_p() @@ -672,7 +672,7 @@ We can provide a custom queryset to our InlineFormSet: >>> formset.is_valid() True ->>> custom_qs = queryset=Book.objects.filter(title__startswith='F') +>>> custom_qs = Book.objects.filter(title__startswith='F') >>> formset = AuthorBooksFormSet(instance=author, queryset=custom_qs) >>> for form in formset.forms: ... print form.as_p()