diff --git a/src/django_components/component.py b/src/django_components/component.py index 6570878f..acebf70c 100644 --- a/src/django_components/component.py +++ b/src/django_components/component.py @@ -19,8 +19,11 @@ from django.views import View # Defining them here made little sense, since 1) component_tags.py and component.py # rely on them equally, and 2) it made it difficult to avoid circularity in the # way the two modules depend on one another. +from django_components.component_registry import AlreadyRegistered as AlreadyRegistered # NOQA +from django_components.component_registry import ComponentRegistry as ComponentRegistry # NOQA +from django_components.component_registry import NotRegistered as NotRegistered # NOQA +from django_components.component_registry import register as register # NOQA from django_components.component_registry import registry # NOQA -from django_components.component_registry import AlreadyRegistered, ComponentRegistry, NotRegistered, register # NOQA from django_components.context import ( _FILLED_SLOTS_CONTENT_CONTEXT_KEY, _PARENT_COMP_CONTEXT_KEY,