Skip to content

Instantly share code, notes, and snippets.

@shaurya-blip
Created February 21, 2021 17:47
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 shaurya-blip/ec4b6f8fdbf1b06730ef450f06176a72 to your computer and use it in GitHub Desktop.
Save shaurya-blip/ec4b6f8fdbf1b06730ef450f06176a72 to your computer and use it in GitHub Desktop.
DATABASES = {
'default': {
'ENGINE': 'django.db.backends.postgresql_psycopg2',
'NAME': 'sample', # DATABASE NAME
'USER': 'postgres', # NAME OF USER (DEFAULT IS postgres)
'PASSWORD': 'xyz', # whatever password you have kept.
'HOST': '127.0.0.1', # HOST in which the psql server is running on
'PORT': '5432', # PORT in which the psql server is running on
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment