Ticket #4051: empty_values.diff
File empty_values.diff, 387 bytes (added by , 16 years ago) |
---|
-
django/forms/fields.py
44 44 ) 45 45 46 46 # These values, if given to to_python(), will trigger the self.required check. 47 EMPTY_VALUES = (None, '' )47 EMPTY_VALUES = (None, '', [], {}, (), set([])) 48 48 49 49 50 50 class Field(object):