Skip to content
Myr

__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 file

Take it

1from 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")