diff --git a/django/template/loaders/app_directories.py b/django/template/loaders/app_directories.py index 887f8a0b72..cea01558d9 100644 --- a/django/template/loaders/app_directories.py +++ b/django/template/loaders/app_directories.py @@ -61,5 +61,3 @@ class Loader(BaseLoader): except IOError: pass raise TemplateDoesNotExist(template_name) - -_loader = Loader() diff --git a/django/template/loaders/eggs.py b/django/template/loaders/eggs.py index 7e35b34ec4..b7dcc75be3 100644 --- a/django/template/loaders/eggs.py +++ b/django/template/loaders/eggs.py @@ -31,5 +31,3 @@ class Loader(BaseLoader): resource = resource.decode(settings.FILE_CHARSET) return (resource, 'egg:%s:%s' % (app, pkg_name)) raise TemplateDoesNotExist(template_name) - -_loader = Loader() diff --git a/django/template/loaders/filesystem.py b/django/template/loaders/filesystem.py index e87cfef987..1a7f0d2cd7 100644 --- a/django/template/loaders/filesystem.py +++ b/django/template/loaders/filesystem.py @@ -44,5 +44,3 @@ class Loader(BaseLoader): error_msg = "Your TEMPLATE_DIRS setting is empty. Change it to point to at least one template directory." raise TemplateDoesNotExist(error_msg) load_template_source.is_usable = True - -_loader = Loader()