mirror of
https://github.com/django-components/django-components.git
synced 2025-09-26 07:29:09 +00:00
feat: allow extensions to add url views (#1025)
* feat: allow extensions to add url views * refactor: fix linter errors
This commit is contained in:
parent
d3d2d0ab08
commit
12a64f8e41
16 changed files with 443 additions and 76 deletions
|
@ -111,7 +111,7 @@ CssDataType = TypeVar("CssDataType", bound=Mapping[str, Any])
|
|||
|
||||
# NOTE: `ReferenceType` is NOT a generic pre-3.9
|
||||
if sys.version_info >= (3, 9):
|
||||
AllComponents = List[ReferenceType["ComponentRegistry"]]
|
||||
AllComponents = List[ReferenceType["Component"]]
|
||||
else:
|
||||
AllComponents = List[ReferenceType]
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue