bundled/flask/tests/moduleapp/apps/frontend/__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


frontend = Module(__name__)


@frontend.route('/')
def index():
    return render_template('frontend/index.html')