From a684705dbc89ca5b277ad380b7d8f268ae6c6803 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ren=C3=A9=20=27Necoro=27=20Neumann?= Date: Fri, 24 Jul 2020 09:24:50 +0200 Subject: Improved debugging --- run.sh | 1 + settings.py | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/run.sh b/run.sh index 612ab58..b2931cc 100755 --- a/run.sh +++ b/run.sh @@ -4,4 +4,5 @@ FLASK_APP=kosten \ FLASK_ENV=development \ PYTHONDONTWRITEBYTECODE=1 \ +WERKZEUG_DEBUG_PIN=off \ flask "$@" diff --git a/settings.py b/settings.py index 76deacb..5bba9fc 100644 --- a/settings.py +++ b/settings.py @@ -4,6 +4,6 @@ import os SECRET_KEY = os.urandom(42) # database -SQLALCHEMY_DATABASE_URI = "sqlite:///test.sqlite" +SQLALCHEMY_DATABASE_URI = "sqlite:///../test.sqlite" SQLALCHEMY_ECHO = True SQLALCHEMY_TRACK_MODIFICATIONS = False -- cgit v1.2.3