Django

Code

Changeset 6373

Show
Ignore:
Timestamp:
09/17/07 14:00:39 (10 months ago)
Author:
ubernostrum
Message:

0.91-bugfixes: Backport [3785] from Django trunk

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • django/branches/0.91-bugfixes/django/core/formfields.py

    r5507 r6373  
    898898 
    899899    def html2python(data): 
    900         if data: 
    901             return data.upper() # Should always be stored in upper case 
    902         else: 
    903             return None 
     900        return data.upper() # Should always be stored in upper case 
    904901    html2python = staticmethod(html2python) 
    905902