flask 返回渲染模版

code
@app.route('/‘) 
def hello_world(): 
    return render_template('index.html’)

 

 

posted @ 2020-12-23 00:26  anobscureretreat  阅读(163)  评论(0)    收藏  举报