Open sailorsamoor opened 7 years ago
It's there as I understood.. http://docs.django-cms.org/en/develop//upgrade/3.4.html#manual-plugin-rendering
def render_placeholder
is now a member of class ContentRenderer
, not a function of the module anymore. Hence, the import fails. This change has been introduced with django-cms commit 617c2c4 (08 Aug 2016).
cms/cms_plugins.py may give a clue in addition how the rendering should now take place.
This issue is a duplicate of #62.
If using older Django this might help:
Hello. I'm getting such error. Django 1.9.9, Django-CMS 3.4.0, Zinnia 0.18.
File "/usr/home/jeltoesolnce/.virtualenvs/cms3/lib/python2.7/site-packages/cmsplugin_zinnia/admin.py", line 6, in <module> from cms.plugin_rendering import render_placeholder ImportError: cannot import name render_placeholder