mirror of
https://github.com/ae-utbm/sith.git
synced 2025-07-10 03:49:24 +00:00
use .env
for project configuration
This commit is contained in:
@ -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
|
||||
|
Reference in New Issue
Block a user