Reference template variable within Jinja expression
我有一条这样定义的路线:
1 2 3 | @app.route('/magic/<filename>') def moremagic(filename): pass |
现在在一个模板中,我想使用
1 2 | you uploaded {{ name }} ') }}">Click to see magic happen |
我已经尝试过:
1 | Click to see magic happen |
扔了一个EDOCX1[1]
有人能建议如何将模板中显示的
去掉多余的括号:
1 2 | you uploaded {{ name }} Click to see magic happen |
(注意,