Django

Django Overview

Django Overview

As we all know, Django is a Python framework used for web development. And like other web frameworks, the architecture of Django is based on MVT (Model-View-Template) pattern. The pattern is like the software design pattern used for web development-related activities. The structure of MVT is slightly different from MVC (Model-View-Controller) pattern. The difference is that Django itself takes care of Controller, and that’s why it doesn’t require an MVC pattern. 

The Model-View-Template (MVT) is just like an HTML template containing Django template language. In MVT, we have three components, and each one is described below:

Model: As the name suggests, like all other models that are used for representation purposes. Therefore, it is used for interface and responsible for handling data. 

View: This component is used to indicate the UI of the application. For example, whatever we see on a website as a user is the User-Interface of the website. 

Template: The template consists of HTML components as well as Django template language with some special syntax used to describe the dynamic content of the website.

 

Top course recommendations for you

    JQuery Tutorial
    1 hrs
    Beginner
    10.9K+ Learners
    4.41  (543)
    What is IoT?
    1 hrs
    Beginner
    29.6K+ Learners
    4.46  (2187)
    Mongodb Tutorial
    2 hrs
    Beginner
    20.1K+ Learners
    4.58  (1106)
    Android App with Python
    2 hrs
    Beginner
    30.2K+ Learners
    4.44  (726)
    JavaScript Projects
    2 hrs
    Intermediate
    35.6K+ Learners
    4.52  (1280)
    HTML Attributes and Tags
    2 hrs
    Beginner
    46.5K+ Learners
    4.58  (2499)
    HTML Tutorial
    6 hrs
    Intermediate
    52.4K+ Learners
    4.5  (1226)
    CSS Properties
    2 hrs
    Beginner
    22K+ Learners
    4.51  (948)
    CSS Tutorial
    2 hrs
    Intermediate
    37.7K+ Learners
    4.54  (1794)
    Broadband Database Management System
    2 hrs
    Intermediate
    8.1K+ Learners
    4.5  (143)