mirror of
https://github.com/django-components/django-components.git
synced 2025-08-09 00:37:59 +00:00
refactor: fix clash with autodiscovery
This commit is contained in:
parent
ddc62c7dfc
commit
003c8ba4d5
3 changed files with 31 additions and 19 deletions
|
@ -89,7 +89,7 @@ def _resolve_component_relative_files(attrs: MutableMapping) -> None:
|
|||
|
||||
# Prepare all possible directories we need to check when searching for
|
||||
# component's template and media files
|
||||
components_dirs = search()
|
||||
components_dirs = search().searched_dirs
|
||||
|
||||
# Get the directory where the component class is defined
|
||||
try:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue