Created
October 5, 2012 13:54
-
-
Save richleland/3839912 to your computer and use it in GitHub Desktop.
diff of common.py for Mr. Lewin
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/site/settings/common.py b/site/settings/common.py | |
index 265794c..29c6d0b 100644 | |
--- a/site/settings/common.py | |
+++ b/site/settings/common.py | |
@@ -18,6 +18,8 @@ EMAIL_PORT = int(os.environ.get('SMTP_PORT', 25)) | |
EMAIL_HOST_USER = os.environ.get('SMTP_HOST_USER', '') | |
EMAIL_HOST_PASSWORD = os.environ.get('SMTP_HOST_PASSWORD', '') | |
EMAIL_USE_TLS = os.environ.get('SMTP_USE_TLS', False) in [True, 'True', 'TRUE', 'true'] | |
+NETWORK_NAME = os.environ.get('NETWORK_NAME', 'Discovery Channel') | |
+NETWORK_ABBR = os.environ.get('NETWORK_ABBR', 'DSC') | |
LOG_LEVEL = os.environ.get('LOG_LEVEL', 'INFO') | |
NOTIFY_LIST = os.environ.get('NOTIFY_LIST', '[email protected]') | |
REAL_HOST = os.environ.get('REAL_HOST', None) | |
@@ -135,6 +137,7 @@ TEMPLATE_CONTEXT_PROCESSORS = ( | |
'dds.context_processors.environment', | |
'dds.context_processors.gigya', | |
'dds.context_processors.host_info', | |
+ 'dds.context_processors.network_info', | |
) | |
INSTALLED_APPS = ( |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment