July 2025
Intermediate to advanced
441 pages
6h 44m
English
In the previous chapter, we discussed the View layer of the Django application. We learned how to write views and how to map URL routes to them. In this chapter, we shall learn about the Model layer – the second component of Django’s MVT (Model, View, and Template) architecture.
Large, complex, and dynamic web-based applications are always data driven. The application invariably uses a certain database backend for data storage and retrieval. Instead of interacting with the database with raw SQL queries, Django recommends ...
Read now
Unlock full access