bundled/flask/tests/moduleapp/apps/admin/__init__.py @ f33efe14bff1

bundled: update flask
author Steve Losh <steve@stevelosh.com>
date Thu, 27 Jan 2011 18:23:59 -0500
parents (none)
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')