Commit 4c6c228c authored by Sergio Alonso's avatar Sergio Alonso

settings: email backend in production

parent deef26b2
"""Production settings."""
import os
from .base import * # noqa
DEBUG = False
ALLOWED_HOSTS = ['legadoeducativo.com']
EMAIL_BACKEND = 'django.core.mail.backends.console.EmailBackend'
EMAIL_BACKEND = 'django.core.mail.backends.smtp.EmailBackend'
EMAIL_HOST = 'smtp.gmail.com'
EMAIL_PORT = 587
EMAIL_HOST_USER = os.environ["GMAIL_USERNAME"]
EMAIL_HOST_PASSWORD = os.environ["GMAIL_PASSWORD"]
EMAIL_USE_TLS = True
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment