diff --git a/django/template/__init__.py b/django/template/__init__.py index dbcffcd32b3..8cf83e40c5a 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