summaryrefslogtreecommitdiff
path: root/django/forms
diff options
context:
space:
mode:
Diffstat (limited to 'django/forms')
-rw-r--r--django/forms/formsets.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/django/forms/formsets.py b/django/forms/formsets.py
index 98ae3205fe..2ab197dee2 100644
--- a/django/forms/formsets.py
+++ b/django/forms/formsets.py
@@ -118,7 +118,7 @@ class BaseFormSet(object):
if self.is_bound:
return self.management_form.cleaned_data[INITIAL_FORM_COUNT]
else:
- # Use the length of the inital data if it's there, 0 otherwise.
+ # Use the length of the initial data if it's there, 0 otherwise.
initial_forms = self.initial and len(self.initial) or 0
return initial_forms