mirror of
https://github.com/django-components/django-components.git
synced 2025-08-09 08:48:00 +00:00
refactor: change utils dir to file to fix missing import
This commit is contained in:
parent
ceb74b289d
commit
d4244578ed
3 changed files with 2 additions and 2 deletions
|
@ -6,7 +6,7 @@ from pathlib import Path
|
||||||
import django
|
import django
|
||||||
from django.utils.module_loading import autodiscover_modules
|
from django.utils.module_loading import autodiscover_modules
|
||||||
|
|
||||||
from django_components.utils.autodiscover import search
|
from django_components.utils import search
|
||||||
|
|
||||||
if django.VERSION < (3, 2):
|
if django.VERSION < (3, 2):
|
||||||
default_app_config = "django_components.apps.ComponentsConfig"
|
default_app_config = "django_components.apps.ComponentsConfig"
|
||||||
|
|
|
@ -37,7 +37,7 @@ from django_components.templatetags.component_tags import (
|
||||||
SlotName,
|
SlotName,
|
||||||
SlotNode,
|
SlotNode,
|
||||||
)
|
)
|
||||||
from django_components.utils.autodiscover import search
|
from django_components.utils import search
|
||||||
|
|
||||||
|
|
||||||
class SimplifiedInterfaceMediaDefiningClass(MediaDefiningClass):
|
class SimplifiedInterfaceMediaDefiningClass(MediaDefiningClass):
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue