Skip to content

Commit

Permalink
Two trivial settings fixes. (#274)
Browse files Browse the repository at this point in the history
  • Loading branch information
facundobatista authored Jan 27, 2024
1 parent 2f50ffc commit 8396c49
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions website/website/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down Expand Up @@ -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', '[email protected]')
Expand Down

0 comments on commit 8396c49

Please sign in to comment.