Django Tutorial - Migrate from SQLite to PostgreSQL #19

preview_player
Показать описание
Welcome everyone to part 19 of the web development in Python with Django. PostgreSQL is an open-source Object-Relational Database Management System (ORDBMS) that supports most of the SQL standards and features, including foreign keys, transactions, etc.

The database comes with many features that help developers build applications but also help administrators protect data regardless of the dataset's size.

This community-driven database server is free to use, secure, reliable, and scalable. It powers dynamic websites and applications at NASA, Apple, Spotify, Reddit, and other famous companies.

As programmers, we often work on different projects depending on our level of expertise. When we were in the learning stage, we worked with an application like a "step-by-step tutorial" that didn't need a heavy database mechanism to store task records. But as we move forward, the projects we work on change over time. We will need to create a production-ready project requiring a database structure at some point.

Typically, a primary Django project ships with an SQLite database as the default. Although this is the default database, Django supports other databases such as PostgreSQL, Oracle, MySQL, and more.

This tutorial will focus on PostgreSQL and how we can implement it on Django projects. PostgreSQL has many features that help developers build applications but also help administrators protect data, no matter how big or small the dataset is.

#django #programming #educational #technology #web #website
Рекомендации по теме
Комментарии
Автор

Things I always have issues, when setting a brand new VPS, are detailed here; like authorizing by password.
Personally, I use docker for local development. But I learned for first time how to dump and restore a backup of my database using django.
Simple wow! thank you!

tatemo_labs
Автор

wow😊.
This is indeed amazing, I didn't make use of vultr yet I got same outcome using postgresql.
Thanks Boss for this rich content.

jpcodes
Автор

Fantastic course. Just want to share my noob two cents here. I find it easier to register a ssh key with the vultr site first. Then build your server and add that ssh key to your server config. Then you won't have to enter a password when you ssh in.

paulbrugger