aldryn / aldryn-gallery

Gallery
Other
9 stars 12 forks source link

ImproperlyConfigured: CMS Plugins must define a render template or set render_plugin=False #25

Open Badestrand opened 8 years ago

Badestrand commented 8 years ago

Hey

version 0.3.0 gives me the error

ImproperlyConfigured: CMS Plugins must define a render template or set render_plugin=False: <class 'aldryn_gallery.cms_plugins.SlideCMSPlugin'>

and I can solve it only when adding the line

render_template = False

to the SlideCMSPlugin class in cms_plugins.py. I am using Python 2.7 with Django 1.6.7 and the Django CMS 3.0.8.

Note that I also need to add the line to the SlideFolderCMSPlugin class to get rid of the PluginAlreadyRegistered error from #24

Badestrand commented 8 years ago

That may simply be due to the out of date Django version, I don't know. But I am stuck to that one