forked from DGNum/gestioCOF
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:
commit
0261bcabf8
1 changed files with 1 additions and 0 deletions
|
@ -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/
|
||||||
|
|
Loading…
Reference in a new issue