mirror of
https://github.com/django/django.git
synced 2025-10-31 09:41:08 +00:00
Fixed #33822 -- Fixed save() crash on model formsets when not created by modelformset_factory().
Thanks Claude Paroz for the report.
Regression in e87f57fdb8.
This commit is contained in:
committed by
Mariusz Felisiak
parent
249ecc437f
commit
18c5ba07cc
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user