forked from orbit-oss/flask
Added a migrated moduleapp as blueprint app
This commit is contained in:
parent
e17e74d3a7
commit
37fab78887
9 changed files with 65 additions and 3 deletions
8
tests/blueprintapp/apps/frontend/__init__.py
Normal file
8
tests/blueprintapp/apps/frontend/__init__.py
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
from flask import Blueprint, render_template
|
||||
|
||||
frontend = Blueprint(__name__)
|
||||
|
||||
|
||||
@frontend.route('/')
|
||||
def index():
|
||||
return render_template('frontend/index.html')
|
||||
Loading…
Add table
Add a link
Reference in a new issue