随笔分类 - flask
摘要:<a href="{{url_for('test')}}">我是测试</a> <button onclick="window.location.href='{{ url_for("test") }}'">点我啊</button> <button onclick="{{ url_for("test")
阅读全文
摘要:rom flask import Flask,render_template app = Flask(__name__,template_folder='templates',static_folder='static',static_url_path='/static'·) @app.route(
阅读全文