__init__.py
This file
Path
tests/test_apps/blueprintapp/apps/admin/__init__.py
20 lines · 366 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–20why, one step back1from flask import Blueprint2from flask import render_template34admin = Blueprint(5 "admin",6 __name__,7 url_prefix="/admin",8 template_folder="templates",9 static_folder="static",10)111213@admin.route("/")14def index():15 return render_template("admin/index.html")161718@admin.route("/index2")19def index2():20 return render_template("./admin/index.html")