added debug env var to settings

This commit is contained in:
Linden Crandall 2023-08-17 14:00:32 +09:00
parent cfba0dae32
commit c40c316bcf

View File

@ -11,7 +11,7 @@ environ.Env.read_env()
BASE_DIR = Path(__file__).resolve().parent.parent
# set to False for production
DEBUG = True
DEBUG = env('DEV_MODE')
# SECURE_SSL_REDIRECT=True
# SESSION_COOKIE_SECURE=True