aboutsummaryrefslogtreecommitdiffstats
path: root/app.py
diff options
context:
space:
mode:
Diffstat (limited to 'app.py')
-rw-r--r--app.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/app.py b/app.py
index 39c96e0..a390406 100644
--- a/app.py
+++ b/app.py
@@ -8,14 +8,14 @@ Created on Sun Jan 17 09:38:19 2021
# app.py
from flask import Flask
-from flask_debugtoolbar import DebugToolbarExtension
+# from flask_debugtoolbar import DebugToolbarExtension
from flask_sqlalchemy import SQLAlchemy
-from key_gen import get_key
app = Flask(__name__)
app.config['SQLALCHEMY_DATABASE_URI'] = 'sqlite:///justice.db'
app.config["SQLALCHEMY_ECHO"] = True
app.debug = True
-app.secret_key = get_key
-toolbar = DebugToolbarExtension(app)
+# SELECT YOUR OWN SECRET KEY
+app.secret_key = ""
+# toolbar = DebugToolbarExtension(app)
db = SQLAlchemy(app) \ No newline at end of file