diff options
author | Robert Schindler <r.schindler@efficiosoft.com> | 2020-07-21 16:29:59 +0200 |
---|---|---|
committer | Robert Schindler <r.schindler@efficiosoft.com> | 2020-07-21 16:29:59 +0200 |
commit | 3ec77c9c878939f8c6e4eca62c4a2cddfef20db1 (patch) | |
tree | 938990792a6cec3e2b2b5b7053919510eff2b6eb /Makefile | |
parent | 842f642c3e64800e786bde4ea4b52bcf26254f9d (diff) | |
download | vyos-1x-3ec77c9c878939f8c6e4eca62c4a2cddfef20db1.tar.gz vyos-1x-3ec77c9c878939f8c6e4eca62c4a2cddfef20db1.zip |
vyos.template: T2720: Rework vyos.template Python library
Apart from code cleanup, this allows any module that wants to render a
template to register custom jinja2 template filters by using the new
@register_filter decorator. Examples can be found in vyos.template
itself. Using the new render_to_string function, the rendered template
can also be returned as a string instead of being written to a file.
Diffstat (limited to 'Makefile')
0 files changed, 0 insertions, 0 deletions