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('') - template.nodelist.extend(debug_template.nodelist) return template