diff options
| author | stilbruch <stilbruch@protonail.com> | 2022-03-21 19:09:56 -0500 |
|---|---|---|
| committer | stilbruch <stilbruch@protonail.com> | 2022-03-21 19:09:56 -0500 |
| commit | 0ba2434ed1a1dca443506e3a4204807502bf41f6 (patch) | |
| tree | 7974e3b35c0587ebe83ecd9f407aeee21ecebfab /app/routes.py | |
| parent | 996f907fdd00e41b6101ec3eb6bfb40d15d6b442 (diff) | |
| download | Strengthy-0ba2434ed1a1dca443506e3a4204807502bf41f6.tar.xz Strengthy-0ba2434ed1a1dca443506e3a4204807502bf41f6.zip | |
More database work
Diffstat (limited to 'app/routes.py')
| -rw-r--r-- | app/routes.py | 5 |
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') |
