mirror of
https://github.com/dgtlmoon/changedetection.io.git
synced 2025-10-30 14:17:40 +00:00
23 lines
505 B
Python
23 lines
505 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,
|
|
)
|
|
from .plugins.regex import regex_replace
|
|
|
|
__all__ = [
|
|
'TimeExtension',
|
|
'render',
|
|
'render_fully_escaped',
|
|
'create_jinja_env',
|
|
'JINJA2_MAX_RETURN_PAYLOAD_SIZE',
|
|
'DEFAULT_JINJA2_EXTENSIONS',
|
|
'regex_replace',
|
|
]
|