bundled/flask/tests/moduleapp/apps/frontend/__init__.py @ 78819a1b530e

api: wrap the exists mkdir call to avoid needless errors
author Steve Losh <steve@stevelosh.com>
date Mon, 18 Jul 2011 13:34:36 -0400
parents f33efe14bff1
children (none)
from flask import Module, render_template


frontend = Module(__name__)


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