Fixed a broken ImproperlyConfigured error message

git-svn-id: http://code.djangoproject.com/svn/django/trunk@11923 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
Simon Willison 2009-12-20 22:46:35 +00:00
parent 20ad30713e
commit c804179126
1 changed files with 1 additions and 1 deletions

View File

@ -80,7 +80,7 @@ def find_template_loader(loader):
module, attr = loader.rsplit('.', 1) module, attr = loader.rsplit('.', 1)
try: try:
mod = import_module(module) mod = import_module(module)
except ImportError: except ImportError, e:
raise ImproperlyConfigured('Error importing template source loader %s: "%s"' % (loader, e)) raise ImproperlyConfigured('Error importing template source loader %s: "%s"' % (loader, e))
try: try:
TemplateLoader = getattr(mod, attr) TemplateLoader = getattr(mod, attr)