Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Method "save" in BaseModelFormSet is marked as alters_data

Fixes #17663
  • Loading branch information...
commit 91c947066408d496f8990ba90fbf2c4d1d80f63f 1 parent 7ec2a21
vanschelven vanschelven authored
Showing with 2 additions and 0 deletions.
  1. +2 −0  django/forms/models.py
2  django/forms/models.py
View
@@ -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()
Please sign in to comment.
Something went wrong with that request. Please try again.