Merge pull request #750 from vanschelven/master
Fixed #17663 -- Marked BaseModelFormSet.save as alters_data.
This commit is contained in:
commit
7acabbb980
|
@ -513,6 +513,8 @@ class BaseModelFormSet(BaseFormSet):
|
||||||
self.save_m2m = save_m2m
|
self.save_m2m = save_m2m
|
||||||
return self.save_existing_objects(commit) + self.save_new_objects(commit)
|
return self.save_existing_objects(commit) + self.save_new_objects(commit)
|
||||||
|
|
||||||
|
save.alters_data = True
|
||||||
|
|
||||||
def clean(self):
|
def clean(self):
|
||||||
self.validate_unique()
|
self.validate_unique()
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue