diff options
Diffstat (limited to 'app.py')
-rw-r--r-- | app.py | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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 |