summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon Willison <simon@simonwillison.net>2009-12-20 22:46:35 +0000
committerSimon Willison <simon@simonwillison.net>2009-12-20 22:46:35 +0000
commitc804179126179bdbf643160202ef01d49b627f17 (patch)
tree272aa86390e296172cd0f164e38882a9de09cd63
parent20ad30713e1162b26a62920d06a4beb3f3b678d9 (diff)
Fixed a broken ImproperlyConfigured error message
git-svn-id: http://code.djangoproject.com/svn/django/trunk@11923 bcc190cf-cafb-0310-a4f2-bffc1f526a37
-rw-r--r--django/template/loader.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/django/template/loader.py b/django/template/loader.py
index 8b3c8e3fb5..74ad7eee01 100644
--- a/django/template/loader.py
+++ b/django/template/loader.py
@@ -80,7 +80,7 @@ def find_template_loader(loader):
module, attr = loader.rsplit('.', 1)
try:
mod = import_module(module)
- except ImportError:
+ except ImportError, e:
raise ImproperlyConfigured('Error importing template source loader %s: "%s"' % (loader, e))
try:
TemplateLoader = getattr(mod, attr)