mirror of
https://github.com/django-components/django-components.git
synced 2025-08-11 17:57:59 +00:00
Multi-line tag support, watch component files, and cleanup (#624)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
This commit is contained in:
parent
b26a201138
commit
ab059f362d
8 changed files with 217 additions and 50 deletions
|
@ -102,6 +102,14 @@ class AppSettings:
|
|||
def LIBRARIES(self) -> List:
|
||||
return self.settings.get("libraries", [])
|
||||
|
||||
@property
|
||||
def MULTILINE_TAGS(self) -> bool:
|
||||
return self.settings.get("multiline_tags", True)
|
||||
|
||||
@property
|
||||
def RELOAD_ON_TEMPLATE_CHANGE(self) -> bool:
|
||||
return self.settings.get("reload_on_template_change", False)
|
||||
|
||||
@property
|
||||
def TEMPLATE_CACHE_SIZE(self) -> int:
|
||||
return self.settings.get("template_cache_size", 128)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue