摘要:
htm页面: <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>登录</title> </head> <body> <form method="post"> {{form.csrf_token()}} {{fo 阅读全文
摘要:
html页面: <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>登录</title> </head> <body> <form action="" method="post"> <lable>用户名:</la 阅读全文
摘要:
创建Demo01和index.html页面 Demo01: from flask import Flask, render_template app = Flask(__name__) @app.route("/") def index(): # 动态传入网页数据 url_str = "www.ba 阅读全文