Database and Media Files Setup
Learn how to set up a database along with static and media files in your Django web app.
SQLite 3 database setup
The default database used by Django is the SQLite3 database. The following piece of code is generated whenever we set up a new Django web app.
SQLite
PostgreSQL database setup
In this course, we’ll be using the PostgreSQL database. To use the PostgreSQL database, we need to modify the DATABASES field in the settings.py as follows:
PostgreSQL
ENGINE ...