flask/tests/moduleapp/apps/admin/__init__.py
2010-07-04 14:12:29 +02:00

9 lines
170 B
Python

from flask import Module, render_template
admin = Module(__name__, url_prefix='/admin')
@admin.route('/')
def index():
return render_template('admin/index.html')