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

Change the mercurial minimum version

the obsstore api was added in mercurial 2.3.
I did _not_ tested with this version though, so we may have to
change it if issues are encountered.
author Christophe de Vienne <cdevienne@gmail.com>
date Fri, 21 Nov 2014 17:04:06 +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')