Commit c831dcd0 authored by Daniel W Bond's avatar Daniel W Bond
Browse files

added email settings to config template, removed errant ','

parent f8ed12eb
......@@ -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
......@@ -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,
......
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