What is Django?

What is Django?

What is Django : Django is an free open source, web framework. Django was created in the fall of 2003. It is written in python and follows MVT ( Model, View , Template ) architectural pattern.

what is Django
what is Django

It is an high level python framework, designed to create rapid web-applications from concept to completion as quickly as possible. Now a days, various websites built in Django including Pinterest, Instagram, Bit Bucket and more.

It solves various problems and handles user’s code. We can connect front-end to the backend using this framework. There is also an  good written documentation for django, for more details you can check  on the official Django docs on  https://www.djangoproject.com/  .

The name Django comes from the guitarist Django Reinhardt.


Why we need Django?

As we know that python is an powerful and easy programming language. To make programming more easier, we need an framework. So know the question arises that what is an framework. Framework designed to make development faster and easy. They contains a set of predefined modules and functions that we just need to call and use rather than to create.

Django follows the statement “Don’t Repeat Yourself”. It means it avoids the duplication(repetition) of code and fast leads to fast development. So instead of writing all code yourself, Django provides various code modules and libraries, that makes a website more easier and faster to create.


Features of Django

Here are common features of Django:

  1. Fast web development
  2. Automatic Administration Interface
  3. Support Object Relational Mapper
  4. Code Reusability
  5. Various built in Modules
  6. Handles JSON, XML conversion
  7. Structured and Light-weighted etc.

How Django Works?

Here, i just give you an brief idea of how Django works. Here is the simple discussion, the way how Django works:

  1. An user requests a web page(send request)
  2. Server receives the request and then it will ask from Django
  3. In the request there will be an address of requested page. Django will matches this address to all addresses which it contains just like as an postman.
  4. This process is done by the Django’s URL resolver.
  5. The Django view will return the requested page if found otherwise 404 message.
  6. Then this page will served to the user

The above discussion is just let you know the basic idea of how Django works. I have mention above, that Django is an MVT system. If you want to learn Model View Template, visit the link below. Thanks!!!

Django Model Template and Views (Django MTV)

Please wait...

Subscribe to our newsletter

Want to be notified when our article is published? Enter your email address and name below to be the first to know.