Ticket #1021: django-manipulators-fix-ticket1021.patch
File django-manipulators-fix-ticket1021.patch, 619 bytes (added by , 18 years ago) |
---|
-
manipulators.py
286 286 # This is really not going to work for fields that have different 287 287 # form fields, e.g. DateTime. 288 288 # This validation needs to occur after html2python to be effective. 289 field_val = all_data.get(f. attname, None)289 field_val = all_data.get(f.name, None) 290 290 if field_val is None: 291 291 # This will be caught by another validator, assuming the field 292 292 # doesn't have blank=True.