-
Notifications
You must be signed in to change notification settings - Fork 23
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
2f50ffc
commit 8396c49
Showing
1 changed file
with
1 addition
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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', '[email protected]') | ||
|