fix: env var DEBUG
This commit is contained in:
@@ -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 = []
|
||||
|
||||
|
||||
Reference in New Issue
Block a user