mirror of
https://github.com/django-components/django-components.git
synced 2025-08-11 09:48:00 +00:00
feat: Add dynamic component (#627)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
This commit is contained in:
parent
8c5b088c31
commit
e76227b8df
10 changed files with 503 additions and 34 deletions
|
@ -99,7 +99,11 @@ class AppSettings:
|
|||
return self.settings.get("autodiscover", True)
|
||||
|
||||
@property
|
||||
def LIBRARIES(self) -> List:
|
||||
def DYNAMIC_COMPONENT_NAME(self) -> str:
|
||||
return self.settings.get("dynamic_component_name", "dynamic")
|
||||
|
||||
@property
|
||||
def LIBRARIES(self) -> List[str]:
|
||||
return self.settings.get("libraries", [])
|
||||
|
||||
@property
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue