WIP
This commit is contained in:
parent
8a29e14212
commit
0826f45b49
8 changed files with 105 additions and 21 deletions
7
app/main/__init__.py
Normal file
7
app/main/__init__.py
Normal file
|
@ -0,0 +1,7 @@
|
|||
from flask import Blueprint
|
||||
|
||||
|
||||
main = Blueprint('main', __name__)
|
||||
|
||||
|
||||
from . import views
|
6
app/main/views.py
Normal file
6
app/main/views.py
Normal file
|
@ -0,0 +1,6 @@
|
|||
from . import main
|
||||
|
||||
@main.route('/')
|
||||
def index():
|
||||
return '<h1>Hello world</h1>'
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue