mirror of
				https://github.com/django/django.git
				synced 2025-10-31 09:41:08 +00:00 
			
		
		
		
	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:
		| @@ -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) | ||||
|   | ||||
		Reference in New Issue
	
	Block a user