Summary
In this chapter, we learned how simple invoices work. We created a couple of models (Order
and Item
). These models will allow us to store information about the users’ purchases. We recapitulated the process of creating Django models and applying migrations. In the end, we reviewed how class diagrams served as a blueprint to create our project models. In the next chapter, we will implement purchase functionality and allow users to view their orders.