summaryrefslogtreecommitdiff
path: root/django/newforms/models.py
diff options
context:
space:
mode:
authorAdrian Holovaty <adrian@holovaty.com>2007-07-01 04:34:39 +0000
committerAdrian Holovaty <adrian@holovaty.com>2007-07-01 04:34:39 +0000
commitbc80d9cfd8b88a3438840d4d4f3492155812811e (patch)
tree7de2c017b4b14b894e96a925b68406711d2c042b /django/newforms/models.py
parent761c02288ade1225026a770b30e6d78d02a4c578 (diff)
newforms-admin: Fixed typo in docstrings in newforms/models.py
git-svn-id: http://code.djangoproject.com/svn/django/branches/newforms-admin@5576 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'django/newforms/models.py')
-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):