Merge base templates. Add database support. Add blueprint for main.

This commit is contained in:
Patrick Jentsch
2019-07-05 14:47:35 +02:00
parent f6b2dd3282
commit b6a67fcd4d
20 changed files with 414 additions and 73 deletions

View File

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

View File

@ -0,0 +1,7 @@
from flask import render_template
from . import main
@main.route('/')
def index():
return render_template('main/index.html.j2')