diff --git a/django_code/django_code/settings.py b/django_code/django_code/settings.py index c45e312..41d8fb5 100644 --- a/django_code/django_code/settings.py +++ b/django_code/django_code/settings.py @@ -23,7 +23,9 @@ BASE_DIR = Path(__file__).resolve().parent.parent SECRET_KEY = 'django-insecure-71%)_#e#o9-dl2o^6mfud-*rw+4+8vy-nd*bzeier&(34ap-p9' # SECURITY WARNING: don't run with debug turned on in production! -DEBUG = os.getenv("DEBUG") +#DEBUG = os.getenv("DEBUG") +DEBUG = os.getenv("DEBUG", "False").lower() in ("true", "1", "t") + ALLOWED_HOSTS = os.getenv("ALLOWED_HOSTS").split(",")