Flask Render Template from Imported Module

后端 未结 0 1060
清酒与你
清酒与你 2021-01-17 16:45

Say I have a route in Flask like this:

@app.route(\'/\')
def index():
    return render_template(\'index.html\')

but I want to call a functi

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