很奇怪的一個問題我用pycharm2017.2建立flask工程,在啟動后,修改template下的文件,卻不能實時在頁面體現出來。hello.pyfrom flask import Flaskfrom flask import render_templateapp = Flask(__name__)@app.route('/')def hello_world(): return render_template('index.html')if __name__ == '__main__': app.run()templates/index.html修改index.html文件不能實時更新
- 1 回答
- 0 關注
- 3178 瀏覽
添加回答
舉報
0/150
提交
取消