This commit is contained in:
Matthew Dillon 2015-06-22 13:09:41 -08:00
parent 8a29e14212
commit 0826f45b49
8 changed files with 105 additions and 21 deletions

7
app/main/__init__.py Normal file
View file

@ -0,0 +1,7 @@
from flask import Blueprint
main = Blueprint('main', __name__)
from . import views

6
app/main/views.py Normal file
View file

@ -0,0 +1,6 @@
from . import main
@main.route('/')
def index():
return '<h1>Hello world</h1>'