Django Apps with PostgreSQL Database

DATABASES = {'default': 
{'ENGINE': 'django.db.backends.postgresql_psycopg2',
'NAME': 'database_name',
'USER': 'database_user',
'PASSWORD': 'database_pass',
'HOST': 'localhost',
'PORT': '5432',
}
}
DATABASES = {'default': 
{'ENGINE': 'django.db.backends.postgresql_psycopg2',
'NAME': 'database_name',
'USER': 'database_user',
'PASSWORD': 'database_pass',
'HOST': 'localhost',
'PORT': '5432',
}
}

--

--

--

Software Engineer, Indonesia

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

How To Create An E-learning Course From Storyboard Document

Developing an R Shiny Application with Statcast Data

Usage of Hazelcast in WSO2 Identity Server

Abstract Classes & Inheritance

All about the bots! This week lots of updates for stream bots!

ConfigMap in kubernetes: Use case

Type hinting in Python, part 1

Lambda Expression in Java

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Adi Ramadhan

Adi Ramadhan

Software Engineer, Indonesia

More from Medium

[Django] Django development notes (2) Templates

[Django][Restframework] Filter data in Django Rest Framework

Containerized Django PostgreSQL Application

Chapter 20: AWS — Amazon Relational Database Service (RDS)