summaryrefslogtreecommitdiff
path: root/app/app.py
diff options
context:
space:
mode:
authorstilbruch <stilbruch@protonail.com>2022-03-21 18:09:50 -0500
committerstilbruch <stilbruch@protonail.com>2022-03-21 18:10:43 -0500
commit681349db67bb828ab926b53734b44c50249d5f65 (patch)
treeba164fba3f86eca2576850b4aa3a882e9f2d2c7b /app/app.py
parente035041e1a02332694bfa692f62217e58d9fada6 (diff)
downloadStrengthy-681349db67bb828ab926b53734b44c50249d5f65.tar.xz
Strengthy-681349db67bb828ab926b53734b44c50249d5f65.zip
Setup basic database connections
Diffstat (limited to 'app/app.py')
-rw-r--r--app/app.py9
1 files changed, 5 insertions, 4 deletions
diff --git a/app/app.py b/app/app.py
index 2ea9126..7f105fd 100644
--- a/app/app.py
+++ b/app/app.py
@@ -1,7 +1,8 @@
-from flask import Flask, render_template
+from flask import Flask
+# Setup app before doing imports
app = Flask(__name__)
+app.config['TEMPLATES_AUTO_RELOAD'] = True
-@app.route("/", methods=["GET"])
-def index():
- return render_template('base/index.html')
+# Load routes
+import routes