From 8396c4956205f46e048b32d2979d81f373ea3186 Mon Sep 17 00:00:00 2001 From: Facundo Batista Date: Sat, 27 Jan 2024 20:20:23 -0300 Subject: [PATCH] Two trivial settings fixes. (#274) --- website/website/settings.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/website/website/settings.py b/website/website/settings.py index 5e80929..23ace90 100644 --- a/website/website/settings.py +++ b/website/website/settings.py @@ -25,7 +25,7 @@ class Base(Configuration): # Quick-start development settings - unsuitable for production # See https://docs.djangoproject.com/en/2.0/howto/deployment/checklist/ - # Configuring email from enviorenment and setting mailhog as default + # Configuring email from environment and setting mailhog as default EMAIL_BACKEND = os.environ.get('EMAIL_BACKEND', 'django.core.mail.backends.smtp.EmailBackend') EMAIL_HOST = os.environ.get('EMAIL_HOST', 'mail') EMAIL_PORT = os.environ.get('EMAIL_PORT', 1025) @@ -231,7 +231,6 @@ class Prod(Base): EMAIL_PORT = os.environ.get('EMAIL_PORT', '587') EMAIL_HOST_USER = os.environ.get('EMAIL_HOST_USER') EMAIL_HOST_PASSWORD = os.environ.get('EMAIL_HOST_PASSWORD') - EMAIL_USE_TLS = os.environ.get('EMAIL_USE_TLS') EMAIL_USE_TLS = os.environ.get('EMAIL_USE_TLS', True) EMAIL_TIMEOUT = int(os.environ.get('EMAIL_TIMEOUT', '10')) EMAIL_FROM = os.environ.get('EMAIL_FROM', 'do_not_reply@python.org.ar')