Add support for Discord webhooks

This commit is contained in:
2024-06-28 06:04:30 +02:00
parent c266f32275
commit 3f7bacca2f
8 changed files with 99 additions and 3 deletions

View File

@ -59,6 +59,7 @@ DEFAULT_FROM_EMAIL: str = os.getenv(
default="webmaster@localhost",
)
SERVER_EMAIL: str = os.getenv(key="EMAIL_HOST_USER", default="webmaster@localhost")
DISCORD_WEBHOOK_URL: str = os.getenv(key="DISCORD_WEBHOOK_URL", default="")
INSTALLED_APPS: list[str] = [
"core.apps.CoreConfig",