0.91-bugfixes: Backport [3785] from Django trunk

git-svn-id: http://code.djangoproject.com/svn/django/branches/0.91-bugfixes@6373 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
James Bennett 2007-09-17 19:00:39 +00:00
parent 0417b0f17b
commit d797b34bf8
1 changed files with 1 additions and 4 deletions

View File

@ -897,10 +897,7 @@ class USStateField(TextField):
raise validators.CriticalValidationError, e.messages
def html2python(data):
if data:
return data.upper() # Should always be stored in upper case
else:
return None
html2python = staticmethod(html2python)
class CommaSeparatedIntegerField(TextField):