|
|
@ -240,3 +240,23 @@ SMS_OUTBOUND_BACKEND = ".".join(
|
|
|
|
)
|
|
|
|
)
|
|
|
|
SMS_SETTINGS = env.dict("SMS_SETTINGS", default={})
|
|
|
|
SMS_SETTINGS = env.dict("SMS_SETTINGS", default={})
|
|
|
|
SMS_WEBHOOK_SECRET = env("SMS_WEBHOOK_SECRET", default=None)
|
|
|
|
SMS_WEBHOOK_SECRET = env("SMS_WEBHOOK_SECRET", default=None)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# Logging
|
|
|
|
|
|
|
|
# https://docs.djangoproject.com/en/5.0/howto/logging/#customize-logging-configuration
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
LOGGING = {
|
|
|
|
|
|
|
|
"version": 1,
|
|
|
|
|
|
|
|
"disable_existing_loggers": False,
|
|
|
|
|
|
|
|
"handlers": {
|
|
|
|
|
|
|
|
"console": {
|
|
|
|
|
|
|
|
"level": "DEBUG" if DEBUG else "WARNING",
|
|
|
|
|
|
|
|
"class": "logging.StreamHandler",
|
|
|
|
|
|
|
|
},
|
|
|
|
|
|
|
|
},
|
|
|
|
|
|
|
|
"loggers": {
|
|
|
|
|
|
|
|
"shiftregister": {
|
|
|
|
|
|
|
|
"level": "DEBUG" if DEBUG else "WARNING",
|
|
|
|
|
|
|
|
"handlers": ["console"],
|
|
|
|
|
|
|
|
},
|
|
|
|
|
|
|
|
},
|
|
|
|
|
|
|
|
}
|
|
|
|