mirror of
https://github.com/django/django.git
synced 2025-07-04 09:49:12 +00:00
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
This commit is contained in:
parent
761c02288a
commit
bc80d9cfd8
@ -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):
|
||||
|
Loading…
x
Reference in New Issue
Block a user