diff options
Diffstat (limited to 'example_project/settings.py')
-rw-r--r-- | example_project/settings.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/example_project/settings.py b/example_project/settings.py index 53f15cc38..f3fd4c2d7 100644 --- a/example_project/settings.py +++ b/example_project/settings.py @@ -422,6 +422,11 @@ def filter_irrelevant_errors(event, hint): return event +try: + from custom_settings import * +except ImportError: + pass + if SENTRY_ID and sentry_sdk: sentry_integrations = [DjangoIntegration()] if USE_BACKGROUND_TASK: |