Summary
In this chapter, we learned how to extract information from the database. We learned different Django model methods, such as all
, get
, and filter
, and how they can be used to retrieve different kinds of information. We refactored the movies and individual movie pages to collect information from the database and learned how to implement search functionality.
In the next chapter, we will go deeper into understanding how the database works.