mirror of
https://github.com/TrentSPalmer/trentpalmerdotorg.git
synced 2024-11-21 17:11:30 -08:00
add email backend to settings.py
This commit is contained in:
parent
356b825830
commit
f9f8bf13ac
@ -149,3 +149,10 @@ IMAGES_FILE_STORAGE = 'tp.storage_backends.PublicImageStorage'
|
||||
|
||||
STATICFILES_DIRS = (os.path.join(BASE_DIR, 'static'),)
|
||||
LOGGING = init_logging_settings()
|
||||
|
||||
EMAIL_BACKEND = os.getenv('EMAIL_BACKEND')
|
||||
EMAIL_HOST = os.getenv('EMAIL_HOST')
|
||||
EMAIL_PORT = int(os.getenv('EMAIL_PORT'))
|
||||
EMAIL_USE_TLS = os.getenv('EMAIL_USE_TLS') == "True"
|
||||
EMAIL_HOST_USER = os.getenv('EMAIL_HOST_USER')
|
||||
EMAIL_HOST_PASSWORD = os.getenv('EMAIL_HOST_PASSWORD')
|
||||
|
Loading…
Reference in New Issue
Block a user