husstanden/routes.py
2019-02-25 16:43:57 +01:00

11 lines
309 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("/testing")
def we_are_testing():
return render_template("testing.html")