1
0
mirror of https://gitlab.com/animath/si/plateforme.git synced 2025-06-23 11:56:37 +02:00

Use mailer to send mails

This commit is contained in:
Yohann D'ANELLO
2020-09-19 21:13:45 +02:00
parent f2b498c352
commit b7cb5aa776
4 changed files with 8 additions and 4 deletions

View File

@ -1,4 +1,5 @@
# Database
# https://docs.djangoproject.com/en/3.0/ref/settings/#databases
EMAIL_BACKEND = 'django.core.mail.backends.console.EmailBackend'
EMAIL_BACKEND = 'mailer.backend.DbBackend'
MAILER_EMAIL_BACKEND = 'django.core.mail.backends.console.EmailBackend'