摘要: htm页面: <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>登录</title> </head> <body> <form method="post"> {{form.csrf_token()}} {{fo 阅读全文
posted @ 2019-11-17 14:13 Jumpkin1122 阅读(251) 评论(0) 推荐(0) 编辑
摘要: html页面: <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>登录</title> </head> <body> <form action="" method="post"> <lable>用户名:</la 阅读全文
posted @ 2019-11-17 13:33 Jumpkin1122 阅读(399) 评论(0) 推荐(0) 编辑
摘要: 创建Demo01和index.html页面 Demo01: from flask import Flask, render_template app = Flask(__name__) @app.route("/") def index(): # 动态传入网页数据 url_str = "www.ba 阅读全文
posted @ 2019-11-17 12:32 Jumpkin1122 阅读(304) 评论(0) 推荐(0) 编辑