summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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):