summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeorg Bauer <gb@hugo.westfalen.de>2005-11-27 00:26:16 +0000
committerGeorg Bauer <gb@hugo.westfalen.de>2005-11-27 00:26:16 +0000
commit0e9081e6de2b5b7af1eef2aecd788d5b7438841d (patch)
tree422463a3798a17ed6cec992dd5eef0d97e93fcc3
parent53330a9274a395cd5397fa4a751299c55e4b1e4e (diff)
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
-rw-r--r--django/core/template/loader_tags.py3
1 files changed, 1 insertions, 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):