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
This commit is contained in:
Georg Bauer 2005-11-27 00:26:16 +00:00
parent 53330a9274
commit 0e9081e6de
1 changed files with 1 additions and 2 deletions

View File

@ -83,8 +83,7 @@ class ConstantIncludeNode(Node):
self.template = t self.template = t
except: except:
if TEMPLATE_DEBUG: if TEMPLATE_DEBUG:
pass raise
# raise
self.template = None self.template = None
def render(self, context): def render(self, context):