Skip to content
Myr

__init__.py

This file

Path

tests/moduleapp/apps/admin/__init__.py

14 lines · 259 bytes · Python

Last changed by

normpath is now used before loading templatesArmin Ronacherbefore adoptiona3a8439

History of this file

Take it

1from flask import Module, render_template234admin = Module(__name__, url_prefix='/admin')567@admin.route('/')8def index():9    return render_template('admin/index.html')101112@admin.route('/index2')13def index2():14    return render_template('./admin/index.html')