chore: added DEBUG value for docker setup (#1327)

* chore: add DEBUG value for docker setup

* refactor: removed the extra DEFAULT value
This commit is contained in:
Bavisetti Narayan 2023-06-20 09:36:08 +05:30 committed by GitHub
parent f2ebac1bb4
commit 0c3635cf25
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 17 additions and 3 deletions

View file

@ -10,7 +10,9 @@ from sentry_sdk.integrations.redis import RedisIntegration
from .common import * # noqa
DEBUG = True
DEBUG = int(os.environ.get(
"DEBUG", 1
)) == 1
EMAIL_BACKEND = "django.core.mail.backends.console.EmailBackend"