In the DjangoCMS3 documentation it says you can configure DjangoCMS behavior using CMS_PLACEHOLDER_CONF in your settings. For instance:
CMS_PLACEHOLDER_CONF = { 'right-column': { 'plugins': ['TextPlugin', 'PicturePlugin'], ...
This would make TextPlugin and PicturePlugin to be the only two plugins available inside any placeholder called "right-column".
It works, but what if I want this restriction to apply to ALL placeholders??
Thanks!
Remove plugins you don't need from
INSTALLED_APPS
.Alternatively, in an app after all plugin apps in
INSTALLED_APPS
in eithercms_plugins.py
ormodels.py
you can usecms.plugin_pool.plugin_pool.unregister_plugin
to remove them from the pool: