Chapter 6: Displaying Objects from Admin

Previously, we learned how to store data in a database. In this chapter, we will collect and display database information. We will display movie information and use some Bootstrap cards to improve the look and feel of our app. Then, we will create a news app with its respective model, view, templates, and URLs. Finally, we will display the news information.

In this chapter, we will be covering the following topics:

  • Listing movies
  • Using the card component
  • Implementing a search
  • Adding a news app
  • Listing news

Technical requirements

In this chapter, we will be using Python 3.8+. Additionally, we will be using the VS Code editor in this book, which you can download from https://code.visualstudio.com/.

Get Django 4 for the Impatient now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.