aboutsummaryrefslogtreecommitdiffstats
path: root/app.py
diff options
context:
space:
mode:
Diffstat (limited to 'app.py')
-rw-r--r--app.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/app.py b/app.py
index c89b6e6..39c96e0 100644
--- a/app.py
+++ b/app.py
@@ -10,11 +10,12 @@ Created on Sun Jan 17 09:38:19 2021
from flask import Flask
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.secret_key = "123456"
app.debug = True
+app.secret_key = get_key
toolbar = DebugToolbarExtension(app)
db = SQLAlchemy(app) \ No newline at end of file