UNIT - 5 - Django Framework
UNIT - 5 - Django Framework
Django Architecture
Django is based on MVT (Model-View-Template) architecture which has the
following three parts –
Model: The model is going to act as the interface of your data. It is
responsible for maintaining data. It is the logical data structure behind
the entire application and is represented by a database (generally
relational databases such as MySql, Postgres).
View: The View is the user interface that you see in your browser when
you render a website. It is represented by HTML/CSS/Javascript and
Jinja files.
Template: A template consists of static parts o off the desired HTML
output as well as some special syntax describing how dynamic content
will be inserted. To check more, visit – Django Templates