Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
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...
commit 6f29147488e14555ae2e7c56f0f74996010e97e3 1 parent cfdc003
Ramiro Morales ramiro authored
2  django/template/loaders/app_directories.py
View
@@ -61,5 +61,3 @@ def load_template_source(self, template_name, template_dirs=None):
except IOError:
pass
raise TemplateDoesNotExist(template_name)
-
-_loader = Loader()
2  django/template/loaders/eggs.py
View
@@ -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()
2  django/template/loaders/filesystem.py
View
@@ -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()
Please sign in to comment.
Something went wrong with that request. Please try again.