Skip to content

Commit 637f90a

Browse files
committed
fix: Ensure CMS < 5 compat
1 parent 328f9a0 commit 637f90a

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

CHANGELOG.rst

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,8 @@ Changelog
77

88
* feat: Refactored CSS for faster and more reliable loading by @fsbraun
99
* feat: Removed link and button preview
10-
* fix: Python 3.9 compatibility
10+
* fix: Some UI Components were not discovered by the `{% plugin %}` template tag in django CMS 5
11+
* fix: Restored Python 3.9 compatibility
1112
* chore: Update node version
1213
* chore: Remove bootstrap dependency
1314

djangocms_frontend/plugin_tag.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ def get_plugin_class(settings_string: str | type) -> type:
7777
def setup():
7878
allowed_plugin_types = tuple(get_plugin_class(cls) for cls in getattr(settings, "CMS_COMPONENT_PLUGINS", []))
7979

80-
for plugin in plugin_pool.get_all_plugins(root_plugin=False):
80+
for plugin in plugin_pool.plugins.values(): # We'll check all plugins irrespectivly of placeholder config
8181
if not issubclass(plugin, allowed_plugin_types):
8282
continue
8383
tag_name = plugin.__name__.lower()

0 commit comments

Comments
 (0)