Commit 22347c89 authored by Russell Keith-Magee's avatar Russell Keith-Magee
Browse files

Fixed #15532 -- Clarified the error message for unknown auth backends. Thanks...

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
parent 03717325
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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: