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):