1
0
mirror of https://github.com/django/django.git synced 2025-10-31 09:41:08 +00:00

Fixed #20781 -- Fixed _has_changed regression with MultiValueField

Thanks Tim Graham for the report.
This commit is contained in:
Claude Paroz
2013-07-21 22:26:03 +02:00
parent bb145e2c47
commit 02b0106d43
3 changed files with 3 additions and 2 deletions

View File

@@ -1025,7 +1025,7 @@ class MultiValueField(Field):
if not isinstance(initial, list):
initial = self.widget.decompress(initial)
for field, initial, data in zip(self.fields, initial, data):
if field._has_changed(initial, data):
if field._has_changed(field.to_python(initial), data):
return True
return False