define DEFAULT_FROM_EMAIL in production settings
This commit is contained in:
parent
385838580b
commit
42f3ed7f06
1 changed files with 3 additions and 0 deletions
|
@ -18,6 +18,9 @@ EMAIL_BACKEND = 'django.core.mail.backends.smtp.EmailBackend'
|
||||||
# See: https://docs.djangoproject.com/en/dev/ref/settings/#email-subject-prefix
|
# See: https://docs.djangoproject.com/en/dev/ref/settings/#email-subject-prefix
|
||||||
EMAIL_SUBJECT_PREFIX = '[%s] ' % SITE_NAME
|
EMAIL_SUBJECT_PREFIX = '[%s] ' % SITE_NAME
|
||||||
|
|
||||||
|
# See: https://docs.djangoproject.com/en/dev/ref/settings/#default-from-email
|
||||||
|
DEFAULT_FROM_EMAIL = get_env_variable('GVA_SITE_ADMINMAIL')
|
||||||
|
|
||||||
# See: https://docs.djangoproject.com/en/dev/ref/settings/#server-email
|
# See: https://docs.djangoproject.com/en/dev/ref/settings/#server-email
|
||||||
SERVER_EMAIL = get_env_variable('GVA_SITE_ADMINMAIL')
|
SERVER_EMAIL = get_env_variable('GVA_SITE_ADMINMAIL')
|
||||||
########## END EMAIL CONFIGURATION
|
########## END EMAIL CONFIGURATION
|
||||||
|
|
Loading…
Reference in a new issue