diff --git a/django/forms/__init__.py b/django/forms/__init__.py index a4b823fefb..160efe652c 100644 --- a/django/forms/__init__.py +++ b/django/forms/__init__.py @@ -952,10 +952,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 + return data.upper() # Should always be stored in upper case html2python = staticmethod(html2python) class CommaSeparatedIntegerField(TextField):