diff options
author | Tomasz Kontusz <tomasz.kontusz@gmail.com> | 2015-06-03 17:05:03 +0200 |
---|---|---|
committer | Tim Graham <timograham@gmail.com> | 2015-06-06 11:45:22 -0400 |
commit | c2b4967e76fd671e6199e4dd54d2a2c1f096b8eb (patch) | |
tree | 9c0ca1cbcb89dba38a695fa323d563cb6c38de9c /django/utils/module_loading.py | |
parent | e5033dcbba4f040feae546345b0760efe7a46fb6 (diff) | |
download | django-c2b4967e76fd671e6199e4dd54d2a2c1f096b8eb.tar.gz |
Fixed ImportError message in utils.module_loading.import_string()
Diffstat (limited to 'django/utils/module_loading.py')
-rw-r--r-- | django/utils/module_loading.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/django/utils/module_loading.py b/django/utils/module_loading.py index 5dc3aefe75..c42d208178 100644 --- a/django/utils/module_loading.py +++ b/django/utils/module_loading.py @@ -23,7 +23,7 @@ def import_string(dotted_path): return getattr(module, class_name) except AttributeError: msg = 'Module "%s" does not define a "%s" attribute/class' % ( - dotted_path, class_name) + module_path, class_name) six.reraise(ImportError, ImportError(msg), sys.exc_info()[2]) |