diff options
| author | Adrian Holovaty <adrian@holovaty.com> | 2006-10-28 20:59:23 +0000 |
|---|---|---|
| committer | Adrian Holovaty <adrian@holovaty.com> | 2006-10-28 20:59:23 +0000 |
| commit | bcba29fcd63de3678b1abe36826e93d993e57171 (patch) | |
| tree | a2bc19463f20de996b002d4f15bd74d83554f435 /tests | |
| parent | 88a2f53b858fedf46ceb84a9fe09558b31038eb7 (diff) | |
Changed forms unit tests to reflect the fact that render() does not use the to_python() value of data
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3946 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/regressiontests/forms/tests.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/regressiontests/forms/tests.py b/tests/regressiontests/forms/tests.py index 80c8847986..c4743a78a6 100644 --- a/tests/regressiontests/forms/tests.py +++ b/tests/regressiontests/forms/tests.py @@ -389,12 +389,12 @@ u'' >>> print p['last_name'] <input type="text" name="last_name" value="Lennon" /> >>> print p['birthday'] -<input type="text" name="birthday" value="1940-10-09" /> +<input type="text" name="birthday" value="1940-10-9" /> >>> for boundfield in p: ... print boundfield <input type="text" name="first_name" value="John" /> <input type="text" name="last_name" value="Lennon" /> -<input type="text" name="birthday" value="1940-10-09" /> +<input type="text" name="birthday" value="1940-10-9" /> >>> p = Person({'last_name': u'Lennon'}) >>> p.errors() |
