Ticket #27161: Running_coerce_in_TypedChoiceField_to_python_method.patch
File Running_coerce_in_TypedChoiceField_to_python_method.patch, 630 bytes (added by , 8 years ago) |
---|
-
django/forms/fields.py
IDEA additional info: Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP <+>UTF-8
850 850 ) 851 851 return value 852 852 853 def clean(self, value):854 value = super(TypedChoiceField, self). clean(value)853 def to_python(self, value): 854 value = super(TypedChoiceField, self).to_python(value) 855 855 return self._coerce(value) 856 856 857 857