This topic created in 3627 days ago, the information mentioned may be changed or developed.
说有一个
app.py
def fun():
xxxx
return xxx
home.html
为什么不能使用${ fun() }
3 replies • 2016-05-30 00:24:33 +08:00
 |
|
1
jzp113 May 28, 2016
那还要 js 干嘛
|
 |
|
3
fohnwind May 30, 2016 1
mako 貌似是直接渲染内容吧,根据变量。如果要使用函数的话试试 jinja2 ? 理解有限。。。
|