Skip to content

Instantly share code, notes, and snippets.

@codeluggage
Last active January 1, 2019 21:36
Embed
What would you like to do?
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