Ticket #7114: patch-7114.diff
File patch-7114.diff, 564 bytes (added by , 17 years ago) |
---|
-
django/newforms/widgets.py
diff --git a/django/newforms/widgets.py b/django/newforms/widgets.py index 8965a8c..2c17a8d 100644
a b class MultiWidget(Widget): 571 571 def _has_changed(self, initial, data): 572 572 if initial is None: 573 573 initial = [u'' for x in range(0, len(data))] 574 else: 575 initial = self.decompress(initial) 574 576 for widget, initial, data in zip(self.widgets, initial, data): 575 577 if not widget._has_changed(initial, data): 576 578 return False