husstanden/routes.py

11 lines
309 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")
2019-02-25 16:29:35 +01:00
2019-02-25 16:43:57 +01:00
@glob.app.route("/testing")
def we_are_testing():
return render_template("testing.html")