|
|
|
|
@ -1,17 +1,6 @@
|
|
|
|
|
# -*- coding: utf-8 -*-
|
|
|
|
|
import copy
|
|
|
|
|
import os
|
|
|
|
|
import sentry_sdk
|
|
|
|
|
from sentry_sdk.integrations.django import DjangoIntegration
|
|
|
|
|
|
|
|
|
|
sentry_sdk.init(
|
|
|
|
|
dsn="https://460e310d034c49a794941e087c4fcc6e@o74423.ingest.sentry.io/1196285",
|
|
|
|
|
integrations=[DjangoIntegration()],
|
|
|
|
|
|
|
|
|
|
# If you wish to associate users to errors (assuming you are using
|
|
|
|
|
# django.contrib.auth) you may enable sending PII data.
|
|
|
|
|
send_default_pii=True
|
|
|
|
|
)
|
|
|
|
|
|
|
|
|
|
INSTALLED_ADDONS = [
|
|
|
|
|
# <INSTALLED_ADDONS> # Warning: text inside the INSTALLED_ADDONS tags is auto-generated. Manual changes will be overwritten.
|
|
|
|
|
@ -38,8 +27,6 @@ aldryn_addons.settings.load(locals())
|
|
|
|
|
|
|
|
|
|
INSTALLED_APPS.insert(0, 'admin_view_permission')
|
|
|
|
|
INSTALLED_APPS.extend([
|
|
|
|
|
'aldryn_forms_recaptcha_plugin',
|
|
|
|
|
'snowpenguin.django.recaptcha3',
|
|
|
|
|
'portal',
|
|
|
|
|
'project',
|
|
|
|
|
'fontawesome',
|
|
|
|
|
@ -256,10 +243,3 @@ if not DEBUG:
|
|
|
|
|
'www.tagesschule-elementa.ch',
|
|
|
|
|
'tagesschule.mprofiag.ch',
|
|
|
|
|
]
|
|
|
|
|
|
|
|
|
|
DATA_UPLOAD_MAX_MEMORY_SIZE = 1024 * 1024 * 1024
|
|
|
|
|
|
|
|
|
|
RECAPTCHA_PUBLIC_KEY = '6Lec78gZAAAAANc-oxXJPMi7BXmINlP-QkcS937g'
|
|
|
|
|
RECAPTCHA_PRIVATE_KEY = '6Lec78gZAAAAADuIppqW7cSh6iPw3TZQ9r-ogHtz'
|
|
|
|
|
|
|
|
|
|
RECAPTCHA_SCORE_THRESHOLD = 0.5
|
|
|
|
|
|