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 1449947 commit cf4c4efCopy full SHA for cf4c4ef
djangocms_frontend/plugin_tag.py
@@ -66,7 +66,7 @@ def get_plugin_class(settings_string: str | type) -> type:
66
if "." in settings_string:
67
# import the class if a dotted path is given
68
module_name, class_name = settings_string.rsplit(".", 1)
69
- return getattr(importlib.import_module(module_name), class_name, None)
+ return getattr(importlib.import_module(module_name), class_name)
70
# Get the plugin class from the plugin pool by its name
71
return plugin_pool.get_plugin(settings_string)
72
return settings_string
0 commit comments