Skip to content
Browse files

Method "save" in BaseModelFormSet is marked as alters_data

Fixes #17663
  • Loading branch information...
1 parent 7ec2a21 commit 91c947066408d496f8990ba90fbf2c4d1d80f63f @vanschelven vanschelven committed
Showing with 2 additions and 0 deletions.
  1. +2 −0 django/forms/models.py
View
2 django/forms/models.py
@@ -513,6 +513,8 @@ def save_m2m():
self.save_m2m = save_m2m
return self.save_existing_objects(commit) + self.save_new_objects(commit)
+ save.alters_data = True
+
def clean(self):
self.validate_unique()

0 comments on commit 91c9470

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