diff options
| author | Georg Bauer <gb@hugo.westfalen.de> | 2005-11-27 00:26:16 +0000 |
|---|---|---|
| committer | Georg Bauer <gb@hugo.westfalen.de> | 2005-11-27 00:26:16 +0000 |
| commit | 0e9081e6de2b5b7af1eef2aecd788d5b7438841d (patch) | |
| tree | 422463a3798a17ed6cec992dd5eef0d97e93fcc3 | |
| parent | 53330a9274a395cd5397fa4a751299c55e4b1e4e (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.py | 3 |
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): |
