Author: simon
Date: 2009-12-20 16:46:35 -0600 (Sun, 20 Dec 2009)
New Revision: 11923
Modified:
django/trunk/django/template/loader.py
Log:
Fixed a broken ImproperlyConfigured error message
Modified: django/trunk/django/template/loader.py
===================================================================
--- django/trunk/django/template/loader.py 2009-12-20 18:27:33 UTC (rev
11922)
+++ django/trunk/django/template/loader.py 2009-12-20 22:46:35 UTC (rev
11923)
@@ -80,7 +80,7 @@
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)
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/django-updates?hl=en.