Django Model -MVT
This is the modification of MVC architecture although Django core architecture is based on MVC but in MVT implementing some variation of MVC architecture.
MVT Architecture components
MVT architecture divided into three components
β
Model
Model contains logical file structure of projects. It contains all class related to modes and it the middleware of View and Templates. It provides a definition of how data information as coming from the View.
β
View
The View in MTV architecture can look like the controller, but itβs not. The View in this MTV architecture is formatting the data via the model. In turn, it communicates to the database and that data which transfer to the template for viewing.
β