We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 05a3d22 commit ef9895bCopy full SHA for ef9895b
src/django_idom/templatetags/idom.py
@@ -36,9 +36,6 @@ def idom_component(_component_id_, **kwargs):
36
def _register_component(full_component_name: str) -> None:
37
module_name, component_name = full_component_name.rsplit(".", 1)
38
39
- if module_name in sys.modules:
40
- module = sys.modules[module_name]
41
- else:
42
try:
43
module = import_module(module_name)
44
except ImportError as error:
0 commit comments