diff --git a/django/newforms/widgets.py b/django/newforms/widgets.py
index 02cecca9aa..38d7aed97e 100644
--- a/django/newforms/widgets.py
+++ b/django/newforms/widgets.py
@@ -591,9 +591,9 @@ class MultiWidget(Widget):
else:
initial = self.decompress(initial)
for widget, initial, data in zip(self.widgets, initial, data):
- if not widget._has_changed(initial, data):
- return False
- return True
+ if widget._has_changed(initial, data):
+ return True
+ return False
def format_output(self, rendered_widgets):
"""
diff --git a/tests/regressiontests/forms/widgets.py b/tests/regressiontests/forms/widgets.py
index e20ea15175..3ebf0b5a2f 100644
--- a/tests/regressiontests/forms/widgets.py
+++ b/tests/regressiontests/forms/widgets.py
@@ -963,10 +963,19 @@ u' <
u' '
>>> w = MyMultiWidget(widgets=(TextInput(), TextInput()))
->>> w._has_changed(None, ['john', 'lennon'])
+# test with no initial data
+>>> w._has_changed(None, [u'john', u'lennon'])
True
->>> w._has_changed('john__lennon', ['john', 'lennon'])
+# test when the data is the same as initial
+>>> w._has_changed(u'john__lennon', [u'john', u'lennon'])
False
+# test when the first widget's data has changed
+>>> w._has_changed(u'john__lennon', [u'alfred', u'lennon'])
+True
+# test when the last widget's data has changed. this ensures that it is not
+# short circuiting while testing the widgets.
+>>> w._has_changed(u'john__lennon', [u'john', u'denver'])
+True
# SplitDateTimeWidget #########################################################