From 0e9081e6de2b5b7af1eef2aecd788d5b7438841d Mon Sep 17 00:00:00 2001 From: Georg Bauer Date: Sun, 27 Nov 2005 00:26:16 +0000 Subject: [PATCH] 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 --- django/core/template/loader_tags.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/django/core/template/loader_tags.py b/django/core/template/loader_tags.py index 20d794c473..15beec9dff 100644 --- a/django/core/template/loader_tags.py +++ b/django/core/template/loader_tags.py @@ -83,8 +83,7 @@ class ConstantIncludeNode(Node): self.template = t except: if TEMPLATE_DEBUG: - pass -# raise + raise self.template = None def render(self, context):