Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

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
authored December 20, 2009

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. 2  django/template/loader.py
2  django/template/loader.py
@@ -80,7 +80,7 @@ def find_template_loader(loader):
80 80
         module, attr = loader.rsplit('.', 1)
81 81
         try:
82 82
             mod = import_module(module)
83  
-        except ImportError:
  83
+        except ImportError, e:
84 84
             raise ImproperlyConfigured('Error importing template source loader %s: "%s"' % (loader, e))
85 85
         try:
86 86
             TemplateLoader = getattr(mod, attr)

0 notes on commit c804179

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