docker-compose->settings DEBUG

Fixes #43 fixed the hard coded setting
This commit is contained in:
gw3000 2023-08-09 22:18:28 +02:00
parent 10ca0cd7f1
commit e01c067ff7
4 changed files with 6 additions and 1 deletions

View file

@ -16,7 +16,7 @@ BASE_DIR = Path(__file__).resolve().parent.parent
SECRET_KEY = env("SECRET_KEY")
# SECURITY WARNING: don't run with debug turned on in production!
DEBUG = False
DEBUG = env.bool("DEBUG")
# CSRF Stuff
CSRF_COOKIE_SECURE = True