forked from orbit-oss/flask
Move tests
This commit is contained in:
parent
077d06df54
commit
3550b26071
55 changed files with 2 additions and 6 deletions
15
tests/test_apps/blueprintapp/apps/admin/__init__.py
Normal file
15
tests/test_apps/blueprintapp/apps/admin/__init__.py
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
from flask import Blueprint, render_template
|
||||
|
||||
admin = Blueprint('admin', __name__, url_prefix='/admin',
|
||||
template_folder='templates',
|
||||
static_folder='static')
|
||||
|
||||
|
||||
@admin.route('/')
|
||||
def index():
|
||||
return render_template('admin/index.html')
|
||||
|
||||
|
||||
@admin.route('/index2')
|
||||
def index2():
|
||||
return render_template('./admin/index.html')
|
||||
Loading…
Add table
Add a link
Reference in a new issue