Prepare production, we will send mails
This commit is contained in:
parent
b0efe08a13
commit
f7b68678d8
4 changed files with 11 additions and 17 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue