Ticket #5505: newforms-forms.patch
File newforms-forms.patch, 668 bytes (added by , 17 years ago) |
---|
-
django/newforms/forms.py
187 187 # value_from_datadict() gets the data from the data dictionaries. 188 188 # Each widget type knows how to retrieve its own data, because some 189 189 # widgets split data over several HTML fields. 190 if not hasattr(field,'widget'): 191 continue 190 192 value = field.widget.value_from_datadict(self.data, self.files, self.add_prefix(name)) 191 193 try: 192 194 value = field.clean(value)