In this chapter, you will learn how to install and configure PostgreSQL so that you can use it with a Django application. First, we will install the required software. Then, we will create database credentials for our application. Finally, we will start and configure a new Django project that uses PostgreSQL as the backend.
The project of this chapter will show you how to implement a banking system to manage ATM locations within a typical city through the Django environment on the PostgreSQL 12 Relational Database Service (RDS) from Amazon Web Services (AWS), which we explored in Chapter 3, Using PostgreSQL and NodeJS for Banking Transactions.
In this chapter, we will cover the following topics:
- Setting up a Django project
- Django database settings with PostgreSQL
- Database models in Django
- Migrating the database...