Ticket #4385: settingtwice.diff
File settingtwice.diff, 575 bytes (added by , 17 years ago) |
---|
-
django/newforms/forms.py
185 185 value = field.widget.value_from_datadict(self.data, self.add_prefix(name)) 186 186 try: 187 187 value = field.clean(value) 188 self.cleaned_data[name] = value189 188 if hasattr(self, 'clean_%s' % name): 190 189 value = getattr(self, 'clean_%s' % name)() 191 190 self.cleaned_data[name] = value