Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

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
  • Loading branch information...
commit 22347c89d8941be0d08e39839503c8cc00ca263c 1 parent 0371732
Russell Keith-Magee authored March 03, 2011

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. 2  django/contrib/auth/__init__.py
2  django/contrib/auth/__init__.py
@@ -14,7 +14,7 @@ def load_backend(path):
14 14
     try:
15 15
         mod = import_module(module)
16 16
     except ImportError, e:
17  
-        raise ImproperlyConfigured('Error importing authentication backend %s: "%s"' % (module, e))
  17
+        raise ImproperlyConfigured('Error importing authentication backend %s: "%s"' % (path, e))
18 18
     except ValueError, e:
19 19
         raise ImproperlyConfigured('Error importing authentication backends. Is AUTHENTICATION_BACKENDS a correctly defined list or tuple?')
20 20
     try:

0 notes on commit 22347c8

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