Ticket #1336: django-core-formfields.py.diff
File django-core-formfields.py.diff, 566 bytes (added by , 19 years ago) |
---|
-
formfields.py
875 875 raise validators.CriticalValidationError, e.messages 876 876 877 877 def html2python(data): 878 return data.upper() # Should always be stored in upper case 878 if data: 879 return data.upper() # Should always be stored in upper case 880 else: 881 return data 879 882 html2python = staticmethod(html2python) 880 883 881 884 class CommaSeparatedIntegerField(TextField):