diff --git a/home.py b/home.py new file mode 100644 index 0000000..ce342a1 --- /dev/null +++ b/home.py @@ -0,0 +1,6 @@ +import main +import flask + +@main.app.route("/home", methods = ['GET']) +def home(): + return (flask.render_template("home/index.html")) diff --git a/main.py b/main.py index b240766..99286ca 100644 --- a/main.py +++ b/main.py @@ -3,10 +3,6 @@ import database app = flask.Flask(__name__) -@app.route("/") -def home(): - return "
Hello, World!
" - if (__name__ == "__main__"): app.run()