diff options
| author | Shawn Dong <shawn.dong@instacart.com> | 2022-07-04 10:45:28 -0700 |
|---|---|---|
| committer | Mariusz Felisiak <felisiak.mariusz@gmail.com> | 2022-07-05 07:19:18 +0200 |
| commit | 18c5ba07cc81be993941ecc2ecc17923b401b66f (patch) | |
| tree | 3fe142eb9c1701459f74ba2dfc3288a69217be18 /django/forms | |
| parent | 249ecc437f79c08b087d0daa0ec8b41f9b25a238 (diff) | |
Fixed #33822 -- Fixed save() crash on model formsets when not created by modelformset_factory().
Thanks Claude Paroz for the report.
Regression in e87f57fdb8dcdabc452bd15abd015bf6c9b1f7a8.
Diffstat (limited to 'django/forms')
| -rw-r--r-- | django/forms/models.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/django/forms/models.py b/django/forms/models.py index 8a4390fc67..192d9fad94 100644 --- a/django/forms/models.py +++ b/django/forms/models.py @@ -657,6 +657,7 @@ class BaseModelFormSet(BaseFormSet): """ model = None + edit_only = False # Set of fields that must be unique among forms of this set. unique_fields = set() |
