Tag Archives: Architecture of Django

EXPLAIN THE ARCHITECTURE OF DJANGO?

Explain the Architecture of Django?

Django architecture consists of:

Models: It describes your database schema and your data structure

Views: It controls what a user sees, the view retrieves data from appropriate models and execute any calculation made to the data and pass it to the template

Templates: It determines how the user sees it. It describes how the data received from the views should be changed or formatted for display on the page

Controller: It is the heart of the system. It handles request and responses, setting up database connections and loading add-ons and specifies Django framework and URL parsing.