summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdrian Holovaty <adrian@holovaty.com>2007-12-22 19:20:02 +0000
committerAdrian Holovaty <adrian@holovaty.com>2007-12-22 19:20:02 +0000
commiteb95a50cd699d25b4694ae012ff31a92ee2d1049 (patch)
treea86f65108c804aee0ac236f6c880853585667726
parent98d3da6389ba3003bc235df82d9b11adb8d30c8c (diff)
Removed a comment in django/template/__init__.py that suggests we would do 'crazy stack-frame stuff'
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6972 bcc190cf-cafb-0310-a4f2-bffc1f526a37
-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