Skip to content

Instantly share code, notes, and snippets.

@codeluggage
Last active January 1, 2019 21:36
Show Gist options
  • Save codeluggage/62907951e9eca01f242d9c16b564b131 to your computer and use it in GitHub Desktop.
Save codeluggage/62907951e9eca01f242d9c16b564b131 to your computer and use it in GitHub Desktop.
DATABASES = {
'default': {
'ENGINE': 'django.db.backends.postgresql_psycopg2',
'NAME': 'mydjangoproject',
'USER': os.environ.get('DB_USER', 'postgres'),
'PASSWORD': os.environ.get('DB_PASSWORD'),
'HOST': os.environ.get('DB_HOST', 'localhost'),
'PORT': os.environ.get('DB_PORT', 5432),
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment