Missing template
rolandf opened this issue · 2 comments
rolandf commented
I added automations and cms_automations in INSTALLED_APPS.
Then when trying to migrate I got the following exception.
django.core.exceptions.ImproperlyConfigured: CMS Plugins must define a render template, a get_render_template method or set render_plugin=False: <class 'automations.cms_automations.cms_plugins.AutomationTaskList'>
I'm using django 3.2.15 and dcms 3.11.
fsbraun commented
This looks like that the plugin is missing get_render_template
and the template is assigned in the render
method which is bad practice.