Commit c27fe882 authored by Guilhem Saurel's avatar Guilhem Saurel
Browse files

settings: set ADMINS

parent 5e28e8a1
......@@ -26,6 +26,9 @@ DEFAULT_FROM_EMAIL = f'{PROJECT_VERBOSE} <{EMAIL_USER}@{EMAIL_FQDN}>'
EMAIL_BACKEND = 'django.core.mail.backends.%s' % ('filebased.EmailBackend' if DEBUG else 'smtp.EmailBackend')
EMAIL_SUBJECT_PREFIX = f'[{PROJECT_VERBOSE}] '
ADMINS = ((os.environ.get('ADMIN_NAME', f'{PROJECT_VERBOSE} webmaster'),
os.environ.get('ADMIN_MAIL', f'webmaster@{DOMAIN_NAME}')),)
INSTALLED_APPS = [
'django.contrib.admin',
'django.contrib.auth',
......
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