Add proper email notifications

This commit is contained in:
2026-05-14 23:19:50 +03:00
parent fe62575790
commit 9e16b78793
34 changed files with 1313 additions and 83 deletions

View File

@@ -5,5 +5,6 @@ from .base import * # noqa: F401, F403
DEBUG = True
ALLOWED_HOSTS = ["localhost", "127.0.0.1", "0.0.0.0"]
# Print emails to the console in dev so we don't burn Mailjet quota.
EMAIL_BACKEND = "django.core.mail.backends.console.EmailBackend"
# Email backend is auto-detected in base.py: Mailtrap if MAILTRAP_API_TOKEN
# is set in .env, otherwise the console backend. To force console output
# even with a token set, clear MAILTRAP_API_TOKEN.