|
|
|
@ -15,6 +15,7 @@ from os import getenv
|
|
|
|
|
import sentry_sdk
|
|
|
|
|
from sentry_sdk.integrations.celery import CeleryIntegration
|
|
|
|
|
from sentry_sdk.integrations.django import DjangoIntegration
|
|
|
|
|
from django.contrib.messages import constants as messages
|
|
|
|
|
|
|
|
|
|
# Build paths inside the project like this: BASE_DIR / 'subdir'.
|
|
|
|
|
BASE_DIR = Path(__file__).resolve().parent.parent
|
|
|
|
@ -166,3 +167,7 @@ if getenv("SENTRY_DSN"):
|
|
|
|
|
)
|
|
|
|
|
|
|
|
|
|
PHONENUMBER_DEFAULT_REGION = "DE"
|
|
|
|
|
|
|
|
|
|
MESSAGE_TAGS = {
|
|
|
|
|
messages.ERROR: "danger",
|
|
|
|
|
}
|
|
|
|
|