husstanden/routes.py

8 lines
219 B
Python
Raw Normal View History

2019-02-12 16:59:43 +01:00
from flask import render_template, url_for
from objects import glob # Global sharing of python objects in a manageable way
2019-02-12 17:09:43 +01:00
@glob.app.route("/")
@glob.app.route("/home")
def home():
2019-02-25 11:38:36 +01:00
return render_template("home.html")