summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRussell Keith-Magee <russell@keith-magee.com>2011-03-03 00:25:02 +0000
committerRussell Keith-Magee <russell@keith-magee.com>2011-03-03 00:25:02 +0000
commit22347c89d8941be0d08e39839503c8cc00ca263c (patch)
treecad4aee5477ee4662a42535e5daf7064dca6a78c
parent03717325dddee2d30d1a59952229827af021fceb (diff)
Fixed #15532 -- Clarified the error message for unknown auth backends. Thanks to kmike for the report.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@15713 bcc190cf-cafb-0310-a4f2-bffc1f526a37
-rw-r--r--django/contrib/auth/__init__.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/django/contrib/auth/__init__.py b/django/contrib/auth/__init__.py
index 173ce1eaf0..232a822053 100644
--- a/django/contrib/auth/__init__.py
+++ b/django/contrib/auth/__init__.py
@@ -14,7 +14,7 @@ def load_backend(path):
try:
mod = import_module(module)
except ImportError, e:
- raise ImproperlyConfigured('Error importing authentication backend %s: "%s"' % (module, e))
+ raise ImproperlyConfigured('Error importing authentication backend %s: "%s"' % (path, e))
except ValueError, e:
raise ImproperlyConfigured('Error importing authentication backends. Is AUTHENTICATION_BACKENDS a correctly defined list or tuple?')
try: