summaryrefslogtreecommitdiff
path: root/app/routes.py
diff options
context:
space:
mode:
authorstilbruch <stilbruch@protonmail.com>2022-03-23 11:41:56 -0500
committerstilbruch <stilbruch@protonmail.com>2022-03-23 11:41:56 -0500
commit43755d0b6d1f65fd65862454be81bd0f5d7ff7dd (patch)
treecda186697f96866320932db6e57683e4a19c3905 /app/routes.py
parent86a33131217b187a2ccc7888dbda2f0a8236ec7c (diff)
parent0ba2434ed1a1dca443506e3a4204807502bf41f6 (diff)
downloadStrengthy-43755d0b6d1f65fd65862454be81bd0f5d7ff7dd.tar.xz
Strengthy-43755d0b6d1f65fd65862454be81bd0f5d7ff7dd.zip
Merge branch 'master' of stilbruch.xyz:strengthy
Diffstat (limited to 'app/routes.py')
-rw-r--r--app/routes.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/app/routes.py b/app/routes.py
index 0cb9043..fdf65e3 100644
--- a/app/routes.py
+++ b/app/routes.py
@@ -1,6 +1,7 @@
from app import app
from database import database_get
from flask import render_template
+from login import *
@app.route("/", methods=["GET"])
def index():
@@ -12,4 +13,8 @@ def login():
@app.route("/register", methods=["GET"])
def register():
+ form = RegisterForm()
+
+ #if form.validate_on_submit():
+ # # TODO: make sure username isnt taken somehow
return render_template('user/register.html')