Created
March 31, 2012 22:03
-
-
Save johnsheehan/2268978 to your computer and use it in GitHub Desktop.
sample python config
This file contains 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
TWITTER_CONSUMER_KEY = '...' | |
TWITTER_CONSUMER_SECRET = '...' | |
TWITTER_ACCESS_TOKEN = '...' | |
TWITTER_TOKEN_SECRET = '...' | |
SENDGRID_USER = '...' | |
SENDGRID_KEY = '...' | |
STRIPE_SECRET_KEY = '...' | |
SEARCHIFY_URL = '...' | |
SEARCHIFY_INDEX = 'dev' | |
DEBUG = True | |
import os | |
if (os.environ.get('REALM', '') == 'prod'): | |
TWITTER_CONSUMER_KEY = '...' | |
TWITTER_CONSUMER_SECRET = '...' | |
TWITTER_ACCESS_TOKEN = '...' | |
TWITTER_TOKEN_SECRET = '...' | |
SENDGRID_USER = '...' | |
SENDGRID_KEY = '...' | |
STRIPE_SECRET_KEY = '...' | |
SEARCHIFY_INDEX = 'prod' | |
DEBUG = False |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment