Ticket #7114: patch-7114.diff

File patch-7114.diff, 564 bytes (added by Honza Král, 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):  
    571571    def _has_changed(self, initial, data):
    572572        if initial is None:
    573573            initial = [u'' for x in range(0, len(data))]
     574        else:
     575            initial = self.decompress(initial)
    574576        for widget, initial, data in zip(self.widgets, initial, data):
    575577            if not widget._has_changed(initial, data):
    576578                return False
Back to Top