From bc80d9cfd8b88a3438840d4d4f3492155812811e Mon Sep 17 00:00:00 2001 From: Adrian Holovaty Date: Sun, 1 Jul 2007 04:34:39 +0000 Subject: [PATCH] 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 --- django/newforms/models.py | 4 ++-- 1 file 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):