se-hub/lib/flask/testsuite/test_apps/moduleapp/apps/frontend/__init__.py

10 lines
158 B
Python
Raw Normal View History

2015-05-09 19:00:14 +00:00
from flask import Module, render_template
frontend = Module(__name__)
@frontend.route('/')
def index():
return render_template('frontend/index.html')