Added a migrated moduleapp as blueprint app

This commit is contained in:
Armin Ronacher 2011-06-17 03:39:49 +02:00
parent e17e74d3a7
commit 37fab78887
9 changed files with 65 additions and 3 deletions

View file

@ -0,0 +1,13 @@
from flask import Blueprint, render_template
admin = Blueprint(__name__, url_prefix='/admin')
@admin.route('/')
def index():
return render_template('admin/index.html')
@admin.route('/index2')
def index2():
return render_template('./admin/index.html')