Created
May 7, 2014 02:28
-
-
Save MichelleGlauser/fc4dacfa7ba615babbb3 to your computer and use it in GitHub Desktop.
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
if ENVIRONMENT == 'dev': | |
APP_BASE_LINK = 'http://127.0.0.1:5000' | |
DEBUG = True | |
DEBUG_TOOLBAR = True | |
DATABASES = { | |
'default': { | |
'ENGINE': 'django.db.backends.postgresql_psycopg2', | |
'NAME': 'chishenma', | |
'HOST': 'localhost', | |
'PORT': '5432', | |
} | |
elif ENVIRONMENT == 'production': | |
import dj_database_url DATABASES['default'] = dj_database_url.config() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment