summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--django/newforms/models.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/django/newforms/models.py b/django/newforms/models.py
index 8354b56a08..3b130cb026 100644
--- a/django/newforms/models.py
+++ b/django/newforms/models.py
@@ -234,11 +234,11 @@ class BaseModelFormSet(BaseFormSet):
super(BaseModelFormSet, self).__init__(**kwargs)
def save_new(self, form, commit=True):
- """Saves and retrutns a new model instance for the given form."""
+ """Saves and returns a new model instance for the given form."""
return save_instance(form, self.model(), commit=commit)
def save_instance(self, form, instance, commit=True):
- """Saves and retrutns an existing model instance for the given form."""
+ """Saves and returns an existing model instance for the given form."""
return save_instance(form, instance, commit=commit)
def save(self, commit=True):