Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ch email settings #19

Merged
merged 7 commits into from
May 19, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions hc/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
"""

import os
import sendgrid
import warnings
import dj_database_url

Expand Down Expand Up @@ -113,6 +114,10 @@
DISCORD_CLIENT_ID = None
DISCORD_CLIENT_SECRET = None

# sendgrid config
EMAIL_BACKEND = 'sgbackend.SendGridBackend'
SENDGRID_API_KEY = os.environ.get('SENDGRID_API_KEY')

# Slack integration -- override these in local_settings
SLACK_CLIENT_ID = None
SLACK_CLIENT_SECRET = None
Expand Down
3 changes: 3 additions & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,13 @@ premailer==2.9.6
psycopg2==2.7.1
pyparsing==2.2.0
python-dateutil==2.6.0
python-http-client==2.2.1
pytz==2016.7
rcssmin==1.0.6
requests==2.9.1
rjsmin==1.0.12
sendgrid==3.6.5
sendgrid-django==4.0.4
six==1.10.0
static3==0.7.0
twx.botapi==2.1.0