mirror of
https://github.com/Balshgit/public.git
synced 2025-09-12 16:40:43 +03:00
20 lines
546 B
Python
20 lines
546 B
Python
from server.settings.components import config
|
|
|
|
ACCOUNT_ACTIVATION_DAYS = 2
|
|
|
|
|
|
EMAIL_HOST = config('EMAIL_HOST')
|
|
EMAIL_PORT = config('EMAIL_PORT', cast=int)
|
|
EMAIL_USE_SSL = config('EMAIL_USE_SSL', cast=bool)
|
|
EMAIL_USE_TLS = config('EMAIL_USE_TLS', cast=bool)
|
|
|
|
EMAIL_HOST_USER = config('EMAIL_HOST_USER')
|
|
EMAIL_HOST_PASSWORD = config('EMAIL_HOST_PASSWORD')
|
|
|
|
# Is used to set sender name
|
|
# https://docs.djangoproject.com/en/1.11/ref/settings/#default-from-email
|
|
DEFAULT_FROM_EMAIL = EMAIL_HOST_USER
|
|
SERVER_EMAIL = EMAIL_HOST_USER
|
|
|
|
EMAIL_TIMEOUT = 20
|