Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

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 authored

Showing 1 changed file with 2 additions and 2 deletions. Show diff stats Hide diff stats

  1. 4  django/contrib/admin/sites.py
4  django/contrib/admin/sites.py
@@ -112,7 +112,7 @@ def has_permission(self, request):
112 112
         """
113 113
         return request.user.is_authenticated() and request.user.is_staff
114 114
     
115  
-    def check_dependancies(self):
  115
+    def check_dependencies(self):
116 116
         """
117 117
         Check that all things needed to run the admin have been correctly installed.
118 118
 
@@ -140,7 +140,7 @@ def root(self, request, url):
140 140
             return http.HttpResponseRedirect(request.path + '/')
141 141
         
142 142
         if settings.DEBUG:
143  
-            self.check_dependancies()
  143
+            self.check_dependencies()
144 144
 
145 145
         # Figure out the admin base URL path and stash it for later use
146 146
         self.root_path = re.sub(re.escape(url) + '$', '', request.path)

0 notes on commit 2845e43

Please sign in to comment.
Something went wrong with that request. Please try again.