template rending with or without request context

后端 未结 0 947
醉话见心
醉话见心 2021-02-05 01:22

From:

  • how to render template in flask without using request context

I found:

template = jinja2.Template(templateContent)    
text=templ         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题