Permalink
Browse files

[1.5.x] Fixed #19729 -- Removed leftover refactoring helper variables.

Thanks chrismedrela for the report.

Refs #6262, 44b9076 and 4d94c0c.

826d9de from master.
  • Loading branch information...
1 parent cfdc003 commit 6f29147488e14555ae2e7c56f0f74996010e97e3 @ramiro ramiro committed Feb 4, 2013
View
2 django/template/loaders/app_directories.py
@@ -61,5 +61,3 @@ def load_template_source(self, template_name, template_dirs=None):
except IOError:
pass
raise TemplateDoesNotExist(template_name)
-
-_loader = Loader()
View
2 django/template/loaders/eggs.py
@@ -31,5 +31,3 @@ def load_template_source(self, template_name, template_dirs=None):
resource = resource.decode(settings.FILE_CHARSET)
return (resource, 'egg:%s:%s' % (app, pkg_name))
raise TemplateDoesNotExist(template_name)
-
-_loader = Loader()
View
2 django/template/loaders/filesystem.py
@@ -44,5 +44,3 @@ def load_template_source(self, template_name, template_dirs=None):
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()

0 comments on commit 6f29147

Please sign in to comment.