1
0
mirror of https://gitlab.crans.org/bde/nk20 synced 2025-06-21 01:48:21 +02:00

Prepare production, we will send mails

This commit is contained in:
Yohann D'ANELLO
2020-05-08 15:59:31 +02:00
parent b0efe08a13
commit f7b68678d8
4 changed files with 11 additions and 17 deletions

View File

@ -44,14 +44,8 @@ ALLOWED_HOSTS = ['*']
# Emails
EMAIL_BACKEND = 'django.core.mail.backends.console.EmailBackend'
# EMAIL_BACKEND = 'django.core.mail.backends.smtp.EmailBackend'
# EMAIL_USE_SSL = False
# EMAIL_HOST = 'smtp.example.org'
# EMAIL_PORT = 25
# EMAIL_HOST_USER = 'change_me'
# EMAIL_HOST_PASSWORD = 'change_me'
SERVER_EMAIL = 'no-reply@' + os.getenv("DOMAIN", "example.com")
SERVER_EMAIL = 'notekfet@localhost'
# Security settings
SECURE_CONTENT_TYPE_NOSNIFF = False