Understanding the Database
The previous chapters showed us how to use Django models to persist and retrieve data from a database. In this chapter, we will explore how databases work in Django. We will utilize a database viewer to examine how Django manages various information and stores it. Additionally, we will learn how to customize the Django admin panel and switch between database engines.
In this chapter, we will cover the following topics:
- Understanding the database viewer
- Customizing the Django admin panel
- Switching to a MySQL database
By the end of this chapter, you will understand how the database works, how to visualize database information, and how to switch to a different database engine.