Skip to content
Myr

__init__.py

This file

Path

tests/moduleapp/apps/admin/__init__.py

9 lines · 170 bytes · Python

Last changed by

Added a testcase for the improved module supportArmin Ronacherbefore adoptiond67a36c

History of this file

Take it

Added a testcase for the improved module supportArmin Ronacherbefore adoptiond67a36c

lines 1–9why, one step back
1from flask import Module, render_template
234admin = Module(__name__, url_prefix='/admin')567@admin.route('/')8def index():9 return render_template('admin/index.html')