From aef8a8305d2190b00386b8b1603deb03a2949f5b Mon Sep 17 00:00:00 2001
From: Justin Bronn
Date: Thu, 26 Jun 2008 15:11:55 +0000
Subject: gis: Merged revisions
7643-7662,7667-7668,7672-7682,7686-7693,7695-7698,7700-7702,7704-7706,7710,7712-7729,7731-7732,7738-7758,7760-7766
via svnmerge from trunk.
git-svn-id: http://code.djangoproject.com/svn/django/branches/gis@7768 bcc190cf-cafb-0310-a4f2-bffc1f526a37
---
tests/regressiontests/forms/forms.py | 20 ++++++++++----------
1 file changed, 10 insertions(+), 10 deletions(-)
(limited to 'tests/regressiontests/forms/forms.py')
diff --git a/tests/regressiontests/forms/forms.py b/tests/regressiontests/forms/forms.py
index d7fa1780f5..7fc206de4c 100644
--- a/tests/regressiontests/forms/forms.py
+++ b/tests/regressiontests/forms/forms.py
@@ -443,8 +443,8 @@ zero-based index.
>>> f = FrameworkForm(auto_id='id_%s')
>>> print f['language']
-
-
+
+
When RadioSelect is used with auto_id, and the whole form is printed using
@@ -453,20 +453,20 @@ ID of the *first* radio button.
>>> print f
-
-
+
+
>>> print f.as_ul()
-
-
+
+
>>> print f.as_p()
-
-
+
+
MultipleChoiceField is a special case, as its data is required to be a list:
@@ -535,8 +535,8 @@ zero-based index.
>>> f = SongForm(auto_id='%s_id')
>>> print f['composers']
-
-
+
+
Data for a MultipleChoiceField should be a list. QueryDict and MultiValueDict
--
cgit v1.3