In this article you will learn in detail the Django code Structure and features. You will learn about Django URLs, MVC pattern and Templates.

Django web Application Structure.


A URL mapper is used to redirect the HTTP requests to appropriate view based on the request URL. It also matches the particular patterns of strings or digits that appear in the URL and passes these to the view functions as a data.


A View is a request handler function, which receives HTTP requests and returns the HTTP responses. Views access the data needed to satisfy requests via models and formatting the responses to templates.


Models are the Python objects that define the structures of application’s data. It provides to manage (Create, Update, Read, Delete) application’s data into the database.


A Template is a text file defining the layout of a file. A view can dynamically create an HTML page using an HTML template, populating it with data from a model. A template can be used to define the structure of any type of file; it doesn’t have to be HTML.

Till now you have seen the Definition, Features and Main Parts of Django

Next >> Django Tutorial : Defining URL and Sending request to the view

Leave a Reply

Your email address will not be published. Required fields are marked *