summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrédéric Péters <fpeters@entrouvert.com>2017-02-13 11:58:53 (GMT)
committerFrédéric Péters <fpeters@entrouvert.com>2017-02-13 11:58:53 (GMT)
commitfbd306c23d10132a58c8521cd3687791e9db945c (patch)
tree7afd86b78c2d67d4a91cf40f758240ed1846a83e
parentf98e87fcbca60c51d274c3b6d029f8204f092c05 (diff)
downloadcmsplugin-blurp-fbd306c23d10132a58c8521cd3687791e9db945c.zip
cmsplugin-blurp-fbd306c23d10132a58c8521cd3687791e9db945c.tar.gz
cmsplugin-blurp-fbd306c23d10132a58c8521cd3687791e9db945c.tar.bz2
remove <!-- DEBUG --> insertion, incompatible with django 1.8 (#14968)v1.16
-rw-r--r--src/cmsplugin_blurp/renderers/template.py5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/cmsplugin_blurp/renderers/template.py b/src/cmsplugin_blurp/renderers/template.py
index 57e76a2..4d6b671 100644
--- a/src/cmsplugin_blurp/renderers/template.py
+++ b/src/cmsplugin_blurp/renderers/template.py
@@ -39,9 +39,4 @@ class TemplateRenderer(BaseRenderer):
elif 'template' in self.config:
template = Template(self.config['template'])
- if settings.TEMPLATE_DEBUG:
- if not hasattr(template, 'render'):
- template = get_template(template)
- debug_template = Template('<!-- DEBUG:\n{{ blurp_debug__ }}\n-->')
- template.nodelist.extend(debug_template.nodelist)
return template