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

Popular posts from this blog

javascript - Google App Script ContentService downloadAsFile not working -

javascript - Function overwritting -

php - Find a regex to take part of Email -