1. 开发,页面调试工具debugtoolbar
1.1 安装
pip install flask-debugtoolbar
1.2 配置
from flask import Flask
from flask_debugtoolbar import DebugToolbarExtension
app = Flask(__name__)
app.debug = True
app.config['SECRET_KEY'] = '<replace with a secret key>'
toolbar = DebugToolbarExtension(app)
网友评论