bundled/flask/tests/moduleapp/apps/frontend/__init__.py @ 5bef954cfecd

decode revision descriptions in templates (fixes #79)
author Mikhail Lukyanchenko <ml@uptimebox.ru>
date Mon, 19 Dec 2011 13:07:35 +0400
parents f33efe14bff1
children (none)
from flask import Module, render_template


frontend = Module(__name__)


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