Kaydet (Commit) 0e9081e6 authored tarafından Georg Bauer's avatar Georg Bauer

loading of templates in includes now reraises the template loading exception…

loading of templates in includes now reraises the template loading exception instead of returning nothing


git-svn-id: http://code.djangoproject.com/svn/django/trunk@1448 bcc190cf-cafb-0310-a4f2-bffc1f526a37
üst 53330a92
......@@ -83,8 +83,7 @@ class ConstantIncludeNode(Node):
self.template = t
except:
if TEMPLATE_DEBUG:
pass
# raise
raise
self.template = None
def render(self, context):
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment