Flask使用記錄

關於FLASK框架的使用 使用pycharm創建工程 在默認的templates中新增模板頁面 在默認的app.py中定義路由並引用模板 @app.route("/add", methods=["GET", "POST"]) def add(): if request.method != 'POST': return render_template("login.html"
相關文章
相關標籤/搜索