summaryrefslogtreecommitdiff
path: root/django/forms
diff options
context:
space:
mode:
Diffstat (limited to 'django/forms')
-rw-r--r--django/forms/models.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/django/forms/models.py b/django/forms/models.py
index 9acd2d7280..574399ccb1 100644
--- a/django/forms/models.py
+++ b/django/forms/models.py
@@ -895,7 +895,7 @@ class BaseModelFormSet(BaseFormSet, AltersData):
# object
else:
date_data = (getattr(form.cleaned_data[unique_for], lookup),)
- data = (form.cleaned_data[field],) + date_data
+ data = (form.cleaned_data[field], *date_data)
# if we've already seen it then we have a uniqueness failure
if data in seen_data:
# poke error messages into the right places and mark