From 4c27334c5313225437c207120501d002a1a61734 Mon Sep 17 00:00:00 2001 From: Petr Šmerkl <46304018+SveterCZE@users.noreply.github.com> Date: Sun, 2 May 2021 09:49:47 +0200 Subject: minor tweaks --- app.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'app.py') diff --git a/app.py b/app.py index 39c96e0..a390406 100644 --- a/app.py +++ b/app.py @@ -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 -- cgit