How to get file name of current template inside Jinja2 template?

前端 未结 0 1340
梦毁少年i
梦毁少年i 2021-02-13 01:07

Say I use return render_template(\'index.html\', users=users). Is it possible to get the filename inside a template without explicit sending of it inside the view?<

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