diff options
| author | Russell Keith-Magee <russell@keith-magee.com> | 2011-03-03 00:37:56 +0000 |
|---|---|---|
| committer | Russell Keith-Magee <russell@keith-magee.com> | 2011-03-03 00:37:56 +0000 |
| commit | 76f5b4eb5c9d91de00b823af797aafb1664e41a0 (patch) | |
| tree | ed7a709f1297cebc02dfb25528e1f1a74ba93698 | |
| parent | 84f398e77c0916a44197a1ae767dbd8e62532052 (diff) | |
[1.2.X] Fixed #15532 -- Clarified the error message for unknown auth backends. Thanks to kmike for the report.
Backport of r15713 from trunk.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@15715 bcc190cf-cafb-0310-a4f2-bffc1f526a37
| -rw-r--r-- | django/contrib/auth/__init__.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/django/contrib/auth/__init__.py b/django/contrib/auth/__init__.py index 0eb197b416..9d24cc4f9d 100644 --- a/django/contrib/auth/__init__.py +++ b/django/contrib/auth/__init__.py @@ -13,7 +13,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: |
