summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--django/template/__init__.py2
1 files changed, 0 insertions, 2 deletions
diff --git a/django/template/__init__.py b/django/template/__init__.py
index dbcffcd32b..8cf83e40c5 100644
--- a/django/template/__init__.py
+++ b/django/template/__init__.py
@@ -161,8 +161,6 @@ class Template(object):
raise TemplateEncodingError("Templates can only be constructed from unicode or UTF-8 strings.")
if settings.TEMPLATE_DEBUG and origin is None:
origin = StringOrigin(template_string)
- # Could do some crazy stack-frame stuff to record where this string
- # came from...
self.nodelist = compile_string(template_string, origin)
self.name = name