From 03717325dddee2d30d1a59952229827af021fceb Mon Sep 17 00:00:00 2001 From: Russell Keith-Magee Date: Thu, 3 Mar 2011 00:24:41 +0000 Subject: [PATCH] Corrected some typos from r14673. git-svn-id: http://code.djangoproject.com/svn/django/trunk@15712 bcc190cf-cafb-0310-a4f2-bffc1f526a37 --- django/contrib/admin/options.py | 2 +- docs/topics/db/multi-db.txt | 2 +- 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)