Skip to content
Myr

__init__.py

This file

Path

tests/moduleapp/apps/admin/__init__.py

14 lines · 259 bytes · Python

Last changed by

Not known.

History of this file

Take it

The walk stopped after 200 commits: lines older than 8ed051d point at it.

Fixed a terrible wrong part in the module documentationArmin Ronacherbefore adoption8ed051d

lines 1–14why, 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')101112@admin.route('/index2')13def index2():14 return render_template('./admin/index.html')