mirror of
https://github.com/Crocmagnon/charasheet.git
synced 2024-11-05 14:23:53 +01:00
Use console backend in development
This commit is contained in:
parent
c5bfd77b34
commit
6be97b4088
1 changed files with 3 additions and 0 deletions
|
@ -218,3 +218,6 @@ ANYMAIL = {
|
||||||
EMAIL_BACKEND = "anymail.backends.mailgun.EmailBackend"
|
EMAIL_BACKEND = "anymail.backends.mailgun.EmailBackend"
|
||||||
DEFAULT_FROM_EMAIL = "charasheet@mg.augendre.info"
|
DEFAULT_FROM_EMAIL = "charasheet@mg.augendre.info"
|
||||||
SERVER_EMAIL = "charasheet@mg.augendre.info"
|
SERVER_EMAIL = "charasheet@mg.augendre.info"
|
||||||
|
|
||||||
|
if DEBUG:
|
||||||
|
EMAIL_BACKEND = "django.core.mail.backends.console.EmailBackend"
|
||||||
|
|
Loading…
Reference in a new issue