Skip to content
Snippets Groups Projects
Commit 377358d6 authored by Benjamin Hättasch's avatar Benjamin Hättasch
Browse files

Adapt settings to prepare sending of mails

parent 26cc3f0f
No related branches found
No related tags found
No related merge requests found
......@@ -218,4 +218,8 @@ CSP_IMG_SRC = ("'self'", "data:")
CSP_FRAME_SRC = ("'self'", )
CSP_FONT_SRC = ("'self'", "data:", "fonts.gstatic.com")
# Emails
SEND_MAILS = True
EMAIL_BACKEND = 'django.core.mail.backends.console.EmailBackend'
include(optional("settings/*.py"))
......@@ -35,4 +35,8 @@ DATABASES = {
}
}
### EMAILS ###
SEND_MAILS = True
EMAIL_BACKEND = 'django.core.mail.backends.smtp.EmailBackend'
# TODO: caching
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment