mirror of
https://github.com/django-components/django-components.git
synced 2025-08-08 08:17:59 +00:00
refactor: move Url.public to View.public (#1140)
* refactor: move Url.public to View.public * refactor: fix tests / imports
This commit is contained in:
parent
b49002b545
commit
519529d4e4
17 changed files with 291 additions and 336 deletions
|
@ -61,7 +61,6 @@ from django_components.extension import (
|
|||
)
|
||||
from django_components.extensions.cache import ComponentCache
|
||||
from django_components.extensions.defaults import ComponentDefaults
|
||||
from django_components.extensions.url import ComponentUrl
|
||||
from django_components.extensions.view import ComponentView, ViewFn
|
||||
from django_components.node import BaseNode
|
||||
from django_components.perfutil.component import ComponentRenderer, component_context_cache, component_post_render
|
||||
|
@ -1538,8 +1537,6 @@ class Component(metaclass=ComponentMeta):
|
|||
"""
|
||||
Instance of [`ComponentView`](../api#django_components.ComponentView) available at component render time.
|
||||
"""
|
||||
Url: Type[ComponentUrl]
|
||||
url: ComponentUrl
|
||||
|
||||
# #####################################
|
||||
# MISC
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue