Fixed a bug in list_templates

This commit is contained in:
Armin Ronacher 2011-07-16 01:16:03 +02:00
parent 8d2daea327
commit c9a2ad2b8d
6 changed files with 23 additions and 5 deletions

View file

@ -1,6 +1,8 @@
from flask import Blueprint, render_template
admin = Blueprint(__name__, url_prefix='/admin')
admin = Blueprint('admin', __name__, url_prefix='/admin',
template_folder='templates',
static_folder='static')
@admin.route('/')