基于之前知道有这个函数可以替换html 中的模板变量,今天在写代码的过程中,需要将一个html ... env.get_template(template_name) return template.render(**context)
確定! 回上一頁