use filebased email backend for Django apps (all but w.c.s. for now) (#31125)

This commit is contained in:
Thomas NOËL 2021-04-08 01:09:18 +02:00 committed by Thomas NOEL
parent 92dabe3347
commit c616debbf2
1 changed files with 4 additions and 0 deletions

View File

@ -50,6 +50,10 @@ LOGGING = {
DEBUG = True
# https://docs.djangoproject.com/fr/2.2/topics/email/#file-backend
EMAIL_BACKEND = 'django.core.mail.backends.filebased.EmailBackend'
EMAIL_FILE_PATH = '/tmp/publik-devinst-mails' # will be auto-created
{% block app_custom_after %}{% endblock %}
for filename in sorted(