Created
November 30, 2013 18:37
-
-
Save pjhoberman/7722742 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
DATABASES = { | |
'default': { | |
'ENGINE': 'django.db.backends.postgresql_psycopg2', # Add 'postgresql_psycopg2', 'mysql', 'sqlite3' or 'oracle'. | |
'NAME': 'wagon_sql', # Or path to database file if using sqlite3. | |
# The following settings are not used with sqlite3: | |
'USER': '****', | |
'PASSWORD': '****', | |
'HOST': '127.0.0.1', # Empty for localhost through domain sockets or '127.0.0.1' for localhost through TCP. | |
'PORT': '', # Set to empty string for default. | |
} | |
} | |
try: | |
from settings_dev import * | |
except Exception, e: | |
pass | |
print DATABASES |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment