Skip to content
Browse files

[1.0.X] Fixed #10038: make `BaseModelFormSet.save_existing_objects` u…

…se `Form.has_changed()` instead of looking at `changed_data` directly. Thanks, karihre. Backport of r10495 from trunk.

git-svn-id: bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
1 parent f3eff22 commit 1a541eebd35f7ce6da7e9074db6c66e0b0393ac5 @jacobian jacobian committed
Showing with 1 addition and 1 deletion.
  1. +1 −1 django/forms/
2 django/forms/
@@ -419,7 +419,7 @@ def save_existing_objects(self, commit=True):
- if form.changed_data:
+ if form.has_changed():
self.changed_objects.append((obj, form.changed_data))
saved_instances.append(self.save_existing(form, obj, commit=commit))
if not commit:

0 comments on commit 1a541ee

Please sign in to comment.
Something went wrong with that request. Please try again.