Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

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
  • Loading branch information...
commit 2845e43505067fb1cca2bca29a0cc817da034c0d 1 parent 4ecc5f4
Russell Keith-Magee freakboy3742 authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 django/contrib/admin/sites.py
4 django/contrib/admin/sites.py
View
@@ -112,7 +112,7 @@ def has_permission(self, request):
"""
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 @@ def root(self, request, url):
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)
Please sign in to comment.
Something went wrong with that request. Please try again.