摘要:
视图函数: @app.route("/extend") def extend(): return render_template("extend.html") 基础: <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <ti 阅读全文
摘要:
字符串显示: @app.route('/') def hello_world(): return 'Hello World!' json显示: 不导入jsonify的处理: @app.route("/json") def json(): import json data = { "a":"b" } 阅读全文