diff options
author | Petr Šmerkl <46304018+SveterCZE@users.noreply.github.com> | 2021-05-02 00:18:53 +0200 |
---|---|---|
committer | Petr Šmerkl <46304018+SveterCZE@users.noreply.github.com> | 2021-05-02 00:18:53 +0200 |
commit | 70db77b2ef24b3cf26e809da6f5f99e67095bfbe (patch) | |
tree | 1a65f0e29c67d57e4144b5b3f7e2e9523ff74afc /app.py | |
parent | a21983cbae1d7e2b7d1c0de694799a57a3886bd3 (diff) | |
download | justice-70db77b2ef24b3cf26e809da6f5f99e67095bfbe.tar.gz |
minor changes
Diffstat (limited to 'app.py')
-rw-r--r-- | app.py | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 |