from jinja2 import Template with open('example.html.jinja') as f: tmpl = Template(f.read()) print(tmpl.render( variable = 'Value with <unsafe> ...
確定! 回上一頁