Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fixed a broken ImproperlyConfigured error message

git-svn-id: http://code.djangoproject.com/svn/django/trunk@11923 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit c804179126179bdbf643160202ef01d49b627f17 1 parent 20ad307
Simon Willison authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  django/template/loader.py
View
2  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)

0 comments on commit c804179

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