bundled/flask/tests/moduleapp/apps/frontend/__init__.py @ b443b42afe6f
issue-90
Convert unicode to ascii for mercurial API.
Mercurial API can't work with python's Unicode objects.
Details http://mercurial.selenic.com/wiki/EncodingStrategy#Unicode_strings
author |
Alexander Stepanenko <olexander314@gmail.com> |
date |
Mon, 15 Dec 2014 02:06:13 +0300 |
parents |
f33efe14bff1 |
children |
(none) |
from flask import Module, render_template
frontend = Module(__name__)
@frontend.route('/')
def index():
return render_template('frontend/index.html')