Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Changed forms unit tests to reflect the fact that render() does not u…

…se the to_python() value of data

git-svn-id: http://code.djangoproject.com/svn/django/trunk@3946 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit bcba29fcd63de3678b1abe36826e93d993e57171 1 parent 88a2f53
Adrian Holovaty adrianholovaty authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 tests/regressiontests/forms/tests.py
4 tests/regressiontests/forms/tests.py
View
@@ -389,12 +389,12 @@
>>> 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()
Please sign in to comment.
Something went wrong with that request. Please try again.