diff options
author | Petr Šmerkl <46304018+SveterCZE@users.noreply.github.com> | 2021-05-02 00:36:28 +0200 |
---|---|---|
committer | Petr Šmerkl <46304018+SveterCZE@users.noreply.github.com> | 2021-05-02 00:36:28 +0200 |
commit | 8e88b741af93bfed8e218306b584c8783e7830b0 (patch) | |
tree | 73421022d48d08b992f6241e79a2651f3ba06f97 /app.py | |
parent | e6ab38a4d9ca3744f39ef15789878a07fcc5effb (diff) | |
parent | 8ad1f0d450c5ec9cfd7a4a9d0dc19c7a216d8c97 (diff) | |
download | justice-8e88b741af93bfed8e218306b584c8783e7830b0.tar.gz |
Merge branch 'main' of https://github.com/SveterCZE/justice
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 |