aboutsummaryrefslogtreecommitdiffstats
path: root/app.py
diff options
context:
space:
mode:
authorPetr Šmerkl <46304018+SveterCZE@users.noreply.github.com>2021-05-02 00:18:53 +0200
committerPetr Šmerkl <46304018+SveterCZE@users.noreply.github.com>2021-05-02 00:18:53 +0200
commit70db77b2ef24b3cf26e809da6f5f99e67095bfbe (patch)
tree1a65f0e29c67d57e4144b5b3f7e2e9523ff74afc /app.py
parenta21983cbae1d7e2b7d1c0de694799a57a3886bd3 (diff)
downloadjustice-70db77b2ef24b3cf26e809da6f5f99e67095bfbe.tar.gz
minor changes
Diffstat (limited to 'app.py')
-rw-r--r--app.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/app.py b/app.py
index 57572ab..39c96e0 100644
--- a/app.py
+++ b/app.py
@@ -10,12 +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.debug = True
-# CHANGE THIS FOR PRODUCTION :)
-app.secret_key = "123456"
+app.secret_key = get_key
toolbar = DebugToolbarExtension(app)
db = SQLAlchemy(app) \ No newline at end of file