summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRussell Keith-Magee <russell@keith-magee.com>2011-03-03 00:24:41 +0000
committerRussell Keith-Magee <russell@keith-magee.com>2011-03-03 00:24:41 +0000
commit03717325dddee2d30d1a59952229827af021fceb (patch)
tree2f2a53e85c4ebd1b69ff607cecae7b76d8eb8ae0
parent93cd8442fc6a1b4838ccc6609b6771d697958c05 (diff)
Corrected some typos from r14673.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@15712 bcc190cf-cafb-0310-a4f2-bffc1f526a37
-rw-r--r--django/contrib/admin/options.py2
-rw-r--r--docs/topics/db/multi-db.txt2
2 files changed, 2 insertions, 2 deletions
diff --git a/django/contrib/admin/options.py b/django/contrib/admin/options.py
index 77c7705a10..142ce3be5f 100644
--- a/django/contrib/admin/options.py
+++ b/django/contrib/admin/options.py
@@ -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.
"""
diff --git a/docs/topics/db/multi-db.txt b/docs/topics/db/multi-db.txt
index e996ddf61b..5a052d4a17 100644
--- a/docs/topics/db/multi-db.txt
+++ b/docs/topics/db/multi-db.txt
@@ -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)