Browse files

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

…ld do 'crazy stack-frame stuff'

git-svn-id: bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
adrianholovaty committed Dec 22, 2007
1 parent 98d3da6 commit eb95a50cd699d25b4694ae012ff31a92ee2d1049
Showing with 0 additions and 2 deletions.
  1. +0 −2 django/template/
@@ -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) = name

0 comments on commit eb95a50

Please sign in to comment.