template ¤
Functions:
-
cached_template
–Create a Template instance that will be cached as per the
TEMPLATE_CACHE_SIZE
setting.
cached_template ¤
cached_template(
template_string: str,
template_cls: Optional[Type[Template]] = None,
origin: Optional[Origin] = None,
name: Optional[str] = None,
engine: Optional[Any] = None,
) -> Template
Create a Template instance that will be cached as per the TEMPLATE_CACHE_SIZE
setting.