django - DjangoCMS 3 Filter Available Plugins -
in djangocms3 documentation says can configure djangocms behavior using cms_placeholder_conf in settings. instance:
cms_placeholder_conf = { 'right-column': { 'plugins': ['textplugin', 'pictureplugin'], ...
this make textplugin , pictureplugin 2 plugins available inside placeholder called "right-column".
it works, if want restriction apply placeholders??
thanks!
remove plugins don't need installed_apps.
alternatively, in app after plugin apps in installed_apps in either cms_plugins.py or models.py can use cms.plugin_pool.plugin_pool.unregister_plugin remove them pool:
from cms.plugin_pool import plugin_pool unwanted_plugin_app.cms_plugins import unwantedplugin plugin_pool.unregister_plugin(unwantedplugin)
Comments
Post a Comment