Corrected some typos from r14673.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@15712 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
Russell Keith-Magee 2011-03-03 00:24:41 +00:00
parent 93cd8442fc
commit 03717325dd
2 changed files with 2 additions and 2 deletions

View File

@ -665,7 +665,7 @@ class ModelAdmin(BaseModelAdmin):
""" """
obj.save() obj.save()
def delete_model(self, requet, obj): def delete_model(self, request, obj):
""" """
Given a model instance delete it from the database. Given a model instance delete it from the database.
""" """

View File

@ -469,7 +469,7 @@ multiple-database support::
# Tell Django to save objects to the 'other' database. # Tell Django to save objects to the 'other' database.
obj.save(using=self.using) obj.save(using=self.using)
def delete_model(self, requqest, obj): def delete_model(self, request, obj):
# Tell Django to delete objects from the 'other' database # Tell Django to delete objects from the 'other' database
obj.delete(using=self.using) obj.delete(using=self.using)