__init__.py
This file
Path
tests/test_apps/blueprintapp/apps/frontend/__init__.py
14 lines · 327 bytes · Python
Last changed by
Not known.
History of this fileTake it
The walk stopped after 200 commits: lines older than 73739a2 point at it.
Merge branch '2.2.x'David Lordbefore adoption73739a2
lines 1–14why, one step back1from flask import Blueprint2from flask import render_template34frontend = Blueprint("frontend", __name__, template_folder="templates")567@frontend.route("/")8def index():9 return render_template("frontend/index.html")101112@frontend.route("/missing")13def missing_template():14 return render_template("missing_template.html")