Merge pull request #750 from vanschelven/master

Fixed #17663 -- Marked BaseModelFormSet.save as alters_data.
This commit is contained in:
Aymeric Augustin 2013-02-23 04:12:11 -08:00
commit 7acabbb980
1 changed files with 2 additions and 0 deletions

View File

@ -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()