随笔分类 - Create A Flask Blog - Flask Friday笔记
https://www.youtube.com/playlist?app=desktop&list=PLCC34OHNcOtolz2Vd9ZSeSXWc8Bq23yEz
摘要:消息闪现 消息闪现 {% for message in get_flashed_messages() %} <div class="alert alert-success alert-dismissible fade show" role="alert"> {{ message }} <button
阅读全文
摘要:链接 传递参数
阅读全文
摘要:# localhost:5000/user/John @app.route("/user/<name>") def user(name): return render_template("user.html", user_name=name) 这段代码是使用了 Flask 框架创建一个路由。具体解释
阅读全文
摘要:export FLASK_ENV=development export FLASK_APP=hello.py flask run --debug
阅读全文
摘要:flask官网: https://flask.github.net.cn/ git官网: https://git-scm.com/ 建立文件: 建立虚拟环境、激活: source virt/Scripts/activate 建立文件: touch hello.py 以项目方式打开: from fla
阅读全文

浙公网安备 33010602011771号