kopia lustrzana https://github.com/dgtlmoon/changedetection.io
21 wiersze
443 B
Python
21 wiersze
443 B
Python
|
|
"""
|
||
|
|
Jinja2 custom extensions and safe rendering utilities.
|
||
|
|
"""
|
||
|
|
from .extensions.TimeExtension import TimeExtension
|
||
|
|
from .safe_jinja import (
|
||
|
|
render,
|
||
|
|
render_fully_escaped,
|
||
|
|
create_jinja_env,
|
||
|
|
JINJA2_MAX_RETURN_PAYLOAD_SIZE,
|
||
|
|
DEFAULT_JINJA2_EXTENSIONS,
|
||
|
|
)
|
||
|
|
|
||
|
|
__all__ = [
|
||
|
|
'TimeExtension',
|
||
|
|
'render',
|
||
|
|
'render_fully_escaped',
|
||
|
|
'create_jinja_env',
|
||
|
|
'JINJA2_MAX_RETURN_PAYLOAD_SIZE',
|
||
|
|
'DEFAULT_JINJA2_EXTENSIONS',
|
||
|
|
]
|