bundled/flask/tests/moduleapp/apps/admin/__init__.py @ 627b1d4e0fa3 issue-93

[index] Add the owner of the cset in a td beetween id and description
author Alain Begey <alain@unlish.com>
date Sat, 15 Nov 2014 20:01:13 +0100
parents f33efe14bff1
children (none)
from flask import Module, render_template


admin = Module(__name__, url_prefix='/admin')


@admin.route('/')
def index():
    return render_template('admin/index.html')


@admin.route('/index2')
def index2():
    return render_template('./admin/index.html')