diff options
author | Matthew Lemon <y@yulqen.org> | 2024-10-19 14:41:08 +0100 |
---|---|---|
committer | Matthew Lemon <y@yulqen.org> | 2024-10-19 14:41:08 +0100 |
commit | ae9bc97c743ea4d31a3f392db72a948d87d3b2ab (patch) | |
tree | afddbb59cfa7a2721cdf997fe83c033865537135 /config/settings | |
parent | 1d2aa924acc3429b66345ef742ed45b1ef4e02a7 (diff) |
Test email in the console
Diffstat (limited to 'config/settings')
-rw-r--r-- | config/settings/production.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/config/settings/production.py b/config/settings/production.py index 4fab057..f8e48ac 100644 --- a/config/settings/production.py +++ b/config/settings/production.py @@ -105,14 +105,14 @@ STORAGES = { # https://docs.djangoproject.com/en/dev/ref/settings/#default-from-email DEFAULT_FROM_EMAIL = env( "DJANGO_DEFAULT_FROM_EMAIL", - default="pyblackbird-cc <noreply@resources.joannalemon.com>", + default="alphabetlearning.online <noreply@alphabetlearning.online>", ) # https://docs.djangoproject.com/en/dev/ref/settings/#server-email SERVER_EMAIL = env("DJANGO_SERVER_EMAIL", default=DEFAULT_FROM_EMAIL) # https://docs.djangoproject.com/en/dev/ref/settings/#email-subject-prefix EMAIL_SUBJECT_PREFIX = env( "DJANGO_EMAIL_SUBJECT_PREFIX", - default="[pyblackbird-cc] ", + default="Alphabet Learning Online -", ) # ADMIN @@ -134,6 +134,7 @@ ADMIN_URL = env("DJANGO_ADMIN_URL") # "MAILGUN_API_URL": env("MAILGUN_API_URL", default="https://api.mailgun.net/v3"), # } +EMAIL_BACKEND = "django.core.mail.backends.console.EmailBackend" # LOGGING # ------------------------------------------------------------------------------ |