We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d1bf9ad commit 05a8341Copy full SHA for 05a8341
djangocms_frontend/plugin_tag.py
@@ -74,7 +74,9 @@ def get_plugin_class(settings_string: str | type) -> type:
74
75
def setup():
76
allowed_plugin_types = tuple(get_plugin_class(cls) for cls in getattr(settings, "CMS_COMPONENT_PLUGINS", []))
77
-
+ if not allowed_plugin_types:
78
+ return
79
+
80
for plugin in plugin_pool.get_all_plugins():
81
if not issubclass(plugin, allowed_plugin_types):
82
continue
0 commit comments