Commit dc510640 authored by Bruno Martin's avatar Bruno Martin

add missing config variable

parent 9882f6bb
Pipeline #8113 failed with stage
in 1 minute and 28 seconds
......@@ -43,6 +43,17 @@ CACHES = {
}
}
# EMAIL
# ------------------------------------------------------------------------------
DEFAULT_FROM_EMAIL = env('DJANGO_DEFAULT_FROM_EMAIL',
default='base_django_project <noreply@base_django_project.org.br>')
CONTACT_RECIPIENT_LIST = env.list(
'DJANGO_CONTACT_RECIPIENT_LIST',
default=['base_django_project <noreply@base_django_project.org.br>',]
)
EMAIL_SUBJECT_PREFIX = env('DJANGO_EMAIL_SUBJECT_PREFIX', default='[base_django_project]')
SERVER_EMAIL = env('DJANGO_SERVER_EMAIL', default=DEFAULT_FROM_EMAIL)
# django-debug-toolbar
# ------------------------------------------------------------------------------
MIDDLEWARE += ['debug_toolbar.middleware.DebugToolbarMiddleware', ]
......
......@@ -81,6 +81,7 @@ STATIC_URL = '/static/'
# ------------------------------------------------------------------------------
DEFAULT_FROM_EMAIL = env('DJANGO_DEFAULT_FROM_EMAIL',
default='base_django_project <noreply@base_django_project.org.br>')
CONTACT_RECIPIENT_LIST = env.list('DJANGO_CONTACT_RECIPIENT_LIST')
EMAIL_SUBJECT_PREFIX = env('DJANGO_EMAIL_SUBJECT_PREFIX', default='[base_django_project]')
SERVER_EMAIL = env('DJANGO_SERVER_EMAIL', default=DEFAULT_FROM_EMAIL)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment