Skip to content
Snippets Groups Projects

Feat/redesign

168 files
+ 3111
349
Compare changes
  • Side-by-side
  • Inline

Files

+ 17
13
from pathlib import Path
import environ
import sentry_sdk
from sentry_sdk.integrations.django import DjangoIntegration
ROOT_DIR = Path(__file__).parents[2]
@@ -86,6 +83,11 @@ TEMPLATES = [
# SENTRY
# ------------------------------------------------------------------------------
try:
import sentry_sdk
from sentry_sdk.integrations.django import DjangoIntegration
SENTRY_DSN = env.str("SENTRY_DSN", default="")
if SENTRY_DSN != "":
@@ -96,6 +98,8 @@ if SENTRY_DSN != "":
],
send_default_pii=True,
)
except ImportError:
pass
# STATIC
Loading