diff options
| author | Russell Keith-Magee <russell@keith-magee.com> | 2008-08-10 12:41:42 +0000 |
|---|---|---|
| committer | Russell Keith-Magee <russell@keith-magee.com> | 2008-08-10 12:41:42 +0000 |
| commit | 2845e43505067fb1cca2bca29a0cc817da034c0d (patch) | |
| tree | 1bed92bb64e9c398a972ad12f88ff500f721fc66 | |
| parent | 4ecc5f490a5c8a72dfab7b1fd00bdcfe782557ea (diff) | |
Fixed #8205 -- Corrected a misspelling in the API introduced in [8265] and [8274]. Thanks for the report, Simon.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8286 bcc190cf-cafb-0310-a4f2-bffc1f526a37
| -rw-r--r-- | django/contrib/admin/sites.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/django/contrib/admin/sites.py b/django/contrib/admin/sites.py index 43aa691fca..7e94bbf011 100644 --- a/django/contrib/admin/sites.py +++ b/django/contrib/admin/sites.py @@ -112,7 +112,7 @@ class AdminSite(object): """ return request.user.is_authenticated() and request.user.is_staff - def check_dependancies(self): + def check_dependencies(self): """ Check that all things needed to run the admin have been correctly installed. @@ -140,7 +140,7 @@ class AdminSite(object): return http.HttpResponseRedirect(request.path + '/') if settings.DEBUG: - self.check_dependancies() + self.check_dependencies() # Figure out the admin base URL path and stash it for later use self.root_path = re.sub(re.escape(url) + '$', '', request.path) |
