use .env for project configuration

This commit is contained in:
imperosol
2024-12-24 15:40:58 +01:00
parent 88b3f7c322
commit 41bff53853
11 changed files with 341 additions and 156 deletions

View File

@ -81,7 +81,7 @@ def sentry_debug(request):
The error will be displayed on Sentry
inside the "development" environment
NOTE : you need to specify the SENTRY_DSN setting in settings_custom.py
NOTE : you need to specify the SENTRY_DSN setting in .env
"""
if settings.SENTRY_ENV != "development" or not settings.SENTRY_DSN:
raise Http404