摘要: from flask import redirect,url_for @app.route("/book/search") def hello(): return redirect(url_for("lucax")) #跳转到 lucax函数的视图函数 @app.route("/book/22") 阅读全文
posted @ 2020-05-17 14:32 凯宾斯基 阅读(349) 评论(0) 推荐(0)
摘要: 数据库创建参考: https://www.cnblogs.com/kaibindirver/p/12650465.html 数据库插入数据 前端页面 <form action="{{ url_for('web.register') }}" method="post"> <input id="nick 阅读全文
posted @ 2020-05-17 01:44 凯宾斯基 阅读(3438) 评论(0) 推荐(0)