Method "save" in BaseModelFormSet is marked as alters_data
Fixes #17663
This commit is contained in:
parent
7ec2a21be1
commit
91c9470664
|
@ -513,6 +513,8 @@ class BaseModelFormSet(BaseFormSet):
|
|||
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()
|
||||
|
||||
|
|
Loading…
Reference in New Issue