feat(api): add email configuration

This commit is contained in:
jo 2023-05-31 13:58:18 +02:00 committed by Kyle Robbertze
parent 001466f8fd
commit c2c0be1fbc
9 changed files with 220 additions and 0 deletions

View file

@ -18,6 +18,7 @@ from .prod import (
DATABASES,
DEBUG,
DEFAULT_AUTO_FIELD,
DEFAULT_FROM_EMAIL,
INSTALLED_APPS,
LANGUAGE_CODE,
LOGGING,
@ -34,6 +35,11 @@ from .prod import (
WSGI_APPLICATION,
)
# Email
# https://docs.djangoproject.com/en/4.2/topics/email/
EMAIL_BACKEND = "django.core.mail.backends.console.EmailBackend"
# Testing
# https://docs.djangoproject.com/en/3.2/ref/settings/#test-runner