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 d69b761 commit 1449947Copy full SHA for 1449947
djangocms_frontend/plugin_tag.py
@@ -64,7 +64,7 @@ def get_plugin_class(settings_string: str | type) -> type:
64
"""Get the plugin class from the settings string or import it if it's a dotted path."""
65
if isinstance(settings_string, str):
66
if "." in settings_string:
67
- # import the class if a dotted oath is given
+ # 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)
70
# Get the plugin class from the plugin pool by its name
0 commit comments