Merge branch 'Kerl/email_backend' into 'master'

Ajoute le backend 'console' pour les mails en dev.

Sur les conseils de @bclement.

Au lieu d'envoyer des mails, gestioCOF les imprime dans la console qui a lancé le serveur.

See merge request !27
This commit is contained in:
Basile Clement 2016-06-10 01:49:32 +02:00
commit 0261bcabf8

View file

@ -15,6 +15,7 @@ import os
BASE_DIR = os.path.dirname(os.path.dirname(os.path.abspath(__file__))) BASE_DIR = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
EMAIL_BACKEND = 'django.core.mail.backends.console.EmailBackend'
# Quick-start development settings - unsuitable for production # Quick-start development settings - unsuitable for production
# See https://docs.djangoproject.com/en/1.8/howto/deployment/checklist/ # See https://docs.djangoproject.com/en/1.8/howto/deployment/checklist/