settings.DEBUG variable sets the sentry env to development

DSN still needs to be specified manually
This commit is contained in:
Théo DURR
2022-08-27 19:46:26 +02:00
parent 29139bf360
commit f4dfd8f99c
2 changed files with 11 additions and 0 deletions

View File

@ -670,6 +670,7 @@ if DEBUG:
"debug_toolbar.panels.redirects.RedirectsPanel",
]
SASS_INCLUDE_FOLDERS = ["core/static/"]
SENTRY_ENV = "development"
if "test" in sys.argv:
CAPTCHA_TEST_MODE = True