refactor: move the utils from component_tags to util.template_tag (#899)

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
This commit is contained in:
Juro Oravec 2025-01-09 21:46:32 +01:00 committed by GitHub
parent a79b24b692
commit ba0f9e65e9
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 584 additions and 576 deletions

View file

@ -49,8 +49,8 @@ from django.urls import URLPattern, URLResolver
from django_components import ComponentVars, TagFormatterABC
from django_components.component import Component
from django_components.templatetags.component_tags import TagSpec
from django_components.util.misc import get_import_path
from django_components.util.template_tag import TagSpec
# NOTE: This file is an entrypoint for the `gen-files` plugin in `mkdocs.yml`.
# However, `gen-files` plugin runs this file as a script, NOT as a module.