mirror of https://github.com/django/django.git
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:
parent
93cd8442fc
commit
03717325dd
|
@ -665,7 +665,7 @@ class ModelAdmin(BaseModelAdmin):
|
|||
"""
|
||||
obj.save()
|
||||
|
||||
def delete_model(self, requet, obj):
|
||||
def delete_model(self, request, obj):
|
||||
"""
|
||||
Given a model instance delete it from the database.
|
||||
"""
|
||||
|
|
|
@ -469,7 +469,7 @@ multiple-database support::
|
|||
# Tell Django to save objects to the 'other' database.
|
||||
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
|
||||
obj.delete(using=self.using)
|
||||
|
||||
|
|
Loading…
Reference in New Issue