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