Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Gepetto
dashboard
Commits
c27fe882
Commit
c27fe882
authored
Apr 12, 2018
by
Guilhem Saurel
Browse files
settings: set ADMINS
parent
5e28e8a1
Changes
1
Hide whitespace changes
Inline
Side-by-side
dashboard/settings.py
View file @
c27fe882
...
...
@@ -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'
,
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment