Learn Django - How to Install and use a PostgreSQL database within a Django project - Part 12

preview_player
Показать описание
Welcome to part 12 of the building a blog series. So that we can look at and implement advanced search features into our blog application, here we learn how to move from the Django default database sqlite to a production database - PostgreSQL.

00:00 Introduction
01:38 Installing PostgreSQL
07:28 pgAdmin - create database
08:56 Install psycopg2 package
09:14 Configure Django with PostgreSQL
11:24 Migrate tables to PostgresSQL

SUBSCRIBE to get more free tutorials, courses and code snippets!

Follow us on Facebook

Follow use on Twitter:
Рекомендации по теме
Комментарии
Автор

finally someone who knows how to explain things clearly!

khaki
Автор

Thank you so much! It as was pretty much what I was looking for. Your explanation was very clear and easy to follow. Have you done another tutorial explaning how to migrate my existing db to the posgres db? I would love to see it!
Again, thank you!

mateolizatovich
Автор

I always wanted to setup my Django project with PostgreSQL database... Thanks for the help and perfect explanation.

damoimyers
Автор

Hey thanks for this video! I'm finishing up Corey Schafer's tutorial and I think I will do yours next.

quick question! In my C:\Users\ I have a 'postgres' account..
C:\Users\postgres

Is this required to user postgresql? If not, how would I delete this?

Also, I had a previous installation of postgresql 9.5 on my machine that I uninstalled.
But at the end on the uninstall I received a message stating 'the data directory and service user account postgres have not been removed'
C:\Program Files\PostgreSQL on my new install shows the old version still there as well as the new version.
How can I totally delete the old version?

Thank you!!

chrispark
Автор

Wasn't hard to setup, but will you do a separate tuts on deployment with postgres ?

paborlouise
Автор

But i can not migrate my models to databse

samandarshoyimov
Автор

Is there any difference between *'ENGINE': and *'ENGINE': ?

ayansultan