Added cron to send email and fixing settings error

This commit is contained in:
Levi 2016-06-16 01:04:48 -05:00
commit 6d029fdeb5
15 changed files with 42 additions and 25 deletions

View file

@ -55,6 +55,7 @@ INSTALLED_APPS = (
'easy_thumbnails',
'utils',
'stored_messages',
'mailer',
'mptt',
'parler',
'taggit',

View file

@ -8,6 +8,8 @@ ADMINS = (
)
# ('Sanghee Kim', 'sanghee.kim@ungleich.ch'),
EMAIL_BACKEND = "mailer.backend.DbBackend"
#MANAGERS = ADMINS
REGISTRATION_MESSAGE['message'] = REGISTRATION_MESSAGE['message'].format(host='digitalglarus.ungleich.ch',slug='{slug}')