Ticket #13342: fields.patch
File fields.patch, 613 bytes (added by , 15 years ago) |
---|
-
django/forms/fields.py
770 770 field_value = value[i] 771 771 except IndexError: 772 772 field_value = None 773 if self.required and field_value in validators.EMPTY_VALUES:773 if field.required and field_value in validators.EMPTY_VALUES: 774 774 raise ValidationError(self.error_messages['required']) 775 775 try: 776 776 clean_data.append(field.clean(field_value))