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:
parent
53330a9274
commit
0e9081e6de
|
@ -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):
|
||||||
|
|
Loading…
Reference in New Issue