Converted app into a package

This commit is contained in:
Armin Ronacher 2010-05-02 16:52:15 +02:00
parent ef7818e10e
commit 904fe68d51
22 changed files with 49 additions and 35 deletions

View file

@ -0,0 +1,8 @@
from flask import Module, render_template
general = Module(__name__)
@general.route('/')
def index():
return render_template('general/index.html')