flask 返回渲染模版

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

 

 

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