Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
SRCT
roomlist
Commits
c831dcd0
Commit
c831dcd0
authored
Dec 03, 2015
by
Daniel W Bond
Browse files
added email settings to config template, removed errant ','
parent
f8ed12eb
Changes
2
Hide whitespace changes
Inline
Side-by-side
roomlist/settings/config.py.template
View file @
c831dcd0
...
...
@@ -20,3 +20,14 @@ PIWIK_SITE_ID = '4'
# If you want to change the database engine you are free to do so here.
DB_ENGINE = 'django.db.backends.mysql'
# Admin Email Handling settings
ADMINS = (('Roomlist Devs', 'roomlist@lists.srct.gmu.edu'),
('SRCT Execs', 'srct@gmu.edu'), )
SERVER_EMAIL = 'root@localhost'
EMAIL_HOST = 'localhost'
EMAIL_PORT = 25
EMAIL_HOST_USER = ''
EMAIL_HOST_PASSWORD = ''
EMAIL_USE_SSL = False
roomlist/settings/settings.py
View file @
c831dcd0
...
...
@@ -208,7 +208,7 @@ else:
'BACKEND'
:
'redis_cache.RedisCache'
,
'LOCATION'
:
'/var/run/redis/redis.sock'
,
},
i
}
}
# need to configure ADMINS email so that ERROR level logs (500 level exceptions)
# can be sent out
...
...
@@ -219,11 +219,13 @@ else:
if
not
DEBUG
:
# ADMINS =
# SERVER_EMAIL =
# EMAIL_HOST =
# EMAIL_HOST_USER =
# EMAIL_HOST_PASSWORD =
ADMINS
=
config
.
ADMINS
SERVER_EMAIL
=
config
.
SERVER_EMAIL
EMAIL_HOST
=
config
.
EMAIL_HOST
EMAIL_PORT
=
config
.
EMAIL_PORT
EMAIL_HOST_USER
=
config
.
EMAIL_HOST_USER
EMAIL_HOST_PASSWORD
=
config
.
EMAIL_HOST_PASSWORD
EMAIL_USE_SSL
=
config
.
EMAIL_USE_SSL
LOGGING
=
{
'version'
:
1
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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