husstanden/routes.py
2019-02-25 16:31:58 +01:00

17 lines
417 B
Python

from flask import render_template, url_for
from objects import glob # Global sharing of python objects in a manageable way
@glob.app.route("/")
@glob.app.route("/home")
def home():
return render_template("home.html")
@glob.app.route("/regninger")
def serve_regninger():
return render_template("regninger.html")
@glob.app.route("/kvittering")
def serve_kvittering():
return render_template("kvittering.html")