Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Removed a comment in django/template/__init__.py that suggests we wou…

…ld do 'crazy stack-frame stuff'

git-svn-id: http://code.djangoproject.com/svn/django/trunk@6972 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit eb95a50cd699d25b4694ae012ff31a92ee2d1049 1 parent 98d3da6
Adrian Holovaty adrianholovaty authored
Showing with 0 additions and 2 deletions.
  1. +0 −2  django/template/__init__.py
2  django/template/__init__.py
View
@@ -161,8 +161,6 @@ def __init__(self, template_string, origin=None, name='<Unknown Template>'):
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
Please sign in to comment.
Something went wrong with that request. Please try again.