Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Hid own email address

  • Loading branch information...
commit 8333d440b900c228e02b56f0654192e63665d9c7 1 parent 122d838
Ammar Khaku authored
Showing with 5 additions and 1 deletion.
  1. +5 −1 tufts2012/settings.py
6 tufts2012/settings.py
View
@@ -5,8 +5,12 @@
TEMPLATE_DEBUG = DEBUG
ADMINS = (
- ('Ammar Khaku', 'ammar.khaku@gmail.com'),
+ ('Ammar Khaku', 'dummy@gmail.com'),
)
+try:
+ ADMINS[0][1] = os.environ['ADMIN_EMAIL_ADDRESS']
+except KeyError:
+ pass
SEND_BROKEN_LINK_EMAILS = True
EMAIL_HOST = "smtp.sendgrid.net"
Please sign in to comment.
Something went wrong with that request. Please try again.