bundled/flask/tests/moduleapp/apps/admin/__init__.py @ 638009474a3b
api: Don't crash if the diff has no lines (in case of merge for instance)
| author |
Benoît Allard <benoit@aeteurope.nl> |
| date |
Mon, 23 Jan 2012 15:01:27 +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')