Skip to content

Instantly share code, notes, and snippets.

@pjhoberman
Created November 30, 2013 18:37
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save pjhoberman/7722742 to your computer and use it in GitHub Desktop.
Save pjhoberman/7722742 to your computer and use it in GitHub Desktop.
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