summaryrefslogtreecommitdiff
path: root/django/forms/models.py
diff options
context:
space:
mode:
Diffstat (limited to 'django/forms/models.py')
-rw-r--r--django/forms/models.py1
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()