How To Connect / Integrate Postgresql Database With Django In Hindi
So, Hey Guys In this video we are going to learn how to connect postgresql database with django
You need to download
Postgresql – https://www.postgresql.org/download/
Pgadmin4 – https://www.pgadmin.org/download/
install the connnector – pip/pip3 install psycopg2
Add this Database settings in settings.py file
DATABASES = {
‘default’: {
‘ENGINE’: ‘django.db.backends.postgresql_psycopg2’,
‘NAME’: ‘Database name’,
‘USER’: ‘here include user’,
‘PASSWORD’: ‘ here include password’,
‘HOST’: ‘localhost’,
‘PORT’: ‘5432’,
}
}
Follow our instagram Page – https://www.instagram.com/_pythonworld_/
Join our telegram Channel – https://t.me/s/pythonw0rld
Like our Facebook Page – https://www.facebook.com/Thepythonworld/
And don’t forget to subscribe our youtube channel
Comments are closed.