forked from orbit-oss/flask
Fixed a bug in list_templates
This commit is contained in:
parent
8d2daea327
commit
c9a2ad2b8d
6 changed files with 23 additions and 5 deletions
|
|
@ -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('/')
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue