Skip to content Skip to sidebar Skip to footer
Showing posts with the label Jinja2

How To Make Tojson() Filter In Jinja2 Output Unicode Instead Of Escape Sequences?

My template is used for JS let SETTINGS = {{settings|tojson(4)}}; My settings is a dict {'name… Read more How To Make Tojson() Filter In Jinja2 Output Unicode Instead Of Escape Sequences?