feat: expose _class_hash as class_id (#1094)

* feat: expose _class_hash as class_id

* refactor: fix linting
This commit is contained in:
Juro Oravec 2025-04-07 11:08:02 +02:00 committed by GitHub
parent a49f5e51dd
commit bb5de86b69
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
13 changed files with 141 additions and 82 deletions

View file

@ -119,6 +119,10 @@
options:
show_if_no_docstring: true
::: django_components.get_component_by_class_id
options:
show_if_no_docstring: true
::: django_components.get_component_dirs
options:
show_if_no_docstring: true

View file

@ -22,6 +22,6 @@ urlpatterns = [
## List of URLs
- `components/cache/<str:comp_cls_hash>.<str:input_hash>.<str:script_type>`
- `components/cache/<str:comp_cls_id>.<str:input_hash>.<str:script_type>`
- `components/cache/<str:comp_cls_hash>.<str:script_type>`
- `components/cache/<str:comp_cls_id>.<str:script_type>`