What is meant by Django? Where it is used?

What is meant by Django? Where it is used?

       Django is a framework that uses python as the main language for the development of web applications, in Django contains full features of python and users can perform all the built-in functions of python in the Web application.

Django is fully comprised of python and its libraries, Django is used for both front-end and back-end development, it supports all databases like MySql, PostgreSQL, OracleDB, and SQLite.

Django - Architecture

Django follows MVT architecture unless MVC, here MVT means Model, View, Template.

  • It is a software design pattern, it is consists of three components namely Model, View, and Template.
  • The model is used to handle the database, with the help of the model we can access the data from the database.
  • The template is nothing but a showcase of the data from the model to the users in form of HTML pages.
  • The view is used for handling business logic.
  • In the MVT, there is no controller and a complete application is built on MVT.

Working of Django 

Here User first sends the request to the Django server or application, then the request is passed to the URLs file, hereafter it goes to the views file then to models, and then templates, and the response is shown in the template file.

Django Files

Django consists of these programs.
  • URLs, py
  • views.py
  • models.py
  • settings.py
  • admin.py
  • init.py
  • apps.py


  • urls.py is a program file that is the most important file which tells the location of the Django application.
  • it stores all the locations of the templates created in the app, project.
  • it accesses those locations with help of the views.py file.


  • views.py is a program file, in which we create different functions for the paths in the templates files and those functions are kept in paths in URLs, py file.
  • views.py totally handles the business logic of the Django project and app.
  • In views.py we can access the table elements from the models.py.


  • models.py is a program file, in which we create tables, which will be stored in the database.
  • with the help of the models.py file,, we can link our Django project to the database, access the files from the database, and then store them in the database.
  • We can import this models.py file into views.py and use the table values in the templates.


  • settings.py is a program file, in which it configures the Django project and it contains all the necessary libraries for running the projects.
  • if we create any directory or app in the project, we append those details in the settings.py file.
  • we can append as many as apps in the setting.py file, it links the apps to the project.


  • It is the file present in the app, in this file, we link the table created in the models.py.
  • here, by linking the table to the admin.py, when we open the admin page while running the server it shows the table on that page and the values of the table.


  • It is the program file, which is empty but it does a lot of work inside when the project is running.
  • we don't need to write anything on this program file.


  • Apps.py is a programming file that contains the details of the app, which we created in the Django project.
  • in this file, it returns the name of the app.


  • Django is a full-stack web development application as it contains all the built-in features in it.
  • With the help of Django, we can easily deploy websites.
  • Django supports multiple databases which can the user uses accordingly.
  • Django is simple to use and develop applications using it.
  • We can access all the built-in functions of python. 
  • It follows MVT architecture, with no need for a controller in it.


  • In Django, we need to specify the URLs for every template creation.
  • To work with Django we need to have knowledge of it.
  • You need a proper internet connection to download the libraries of  Django. 
  • Django is a Monolithic.
  • It is not for smaller projects.
  • Multiple request issue.

Please follow our Website, To get to know more about Django. 


  1. Kudos Author! It's a great article. Thanks for sharing this useful information. If you are looking for any data-related services/solutions listed below, Kindly reach us.

    Data Engineering Services
    Data Analytics Services
    Data Assurance Services
    Data Modernization Services
    AI ML Services

Previous Post Next Post