diff --git a/src/charasheet/settings.py b/src/charasheet/settings.py index 5242c13..e01498e 100644 --- a/src/charasheet/settings.py +++ b/src/charasheet/settings.py @@ -218,3 +218,6 @@ ANYMAIL = { EMAIL_BACKEND = "anymail.backends.mailgun.EmailBackend" DEFAULT_FROM_EMAIL = "charasheet@mg.augendre.info" SERVER_EMAIL = "charasheet@mg.augendre.info" + +if DEBUG: + EMAIL_BACKEND = "django.core.mail.backends.console.EmailBackend"