diff --git a/config/settings.py b/config/settings.py index a4697a5..4739f31 100644 --- a/config/settings.py +++ b/config/settings.py @@ -24,7 +24,7 @@ BASE_DIR = Path(__file__).resolve().parent.parent SECRET_KEY = os.environ.get('DJANGO_SECRET_KEY', 'insecure-+3@1h+@wz%6m*dpx0e') # SECURITY WARNING: don't run with debug turned on in production! -DEBUG = os.environ.get('DEBUG', True) +DEBUG = os.environ.get('DEBUG', 'yes').lower() not in ['false', 'no', '0'] ALLOWED_HOSTS = []