📜  jinja2.exceptions.TemplateNotFound: index.html - 任何代码示例

📅  最后修改于: 2022-03-11 14:56:27.508000             🧑  作者: Mango

代码示例3
from flask import Flask, render_template
app = Flask(__name__)
@app.route("/profile/")
def profile(name):
    return render_template('profile.html', name=name)
if __name__ == "__main__":
    app.run(debug=True)