Introduction to Django

Introduction to Django
Hello. Welcome to another session on this platform. If you are new here, please do checkout our previous articles on python programming language and stay excited on this session. we are entering into one of python’s application called Django.
In this article, we are going to discuss the following:

  • What is Django
  • Why must we use Django 
  • A brief history of Django
  • Installation of Django
  • Popularity of Django

What is Django?

Python has so many framework application and Django happen to be one of them. Being a python-based-framework, it is used to quickly create web applications. 

When building websites, django provides similar ready-made components to handle user authentication, forms, a way to upload components.

Why use django?

  • Django is very fast. It takes applications from concept to applications very quickly
  • Django has thousand available packages in it when it is installed.
  • With django, we can launch web applications is a matter of hours.
  • Django is a highly is secured and helps developers avoid common security mistakes such as such as SQL injection and clickjacking. 
  • Django is very scalable that it can easily change from small scale to large scale projects 

Brief History of Django

In 2003, django was designed and develop by Lawrence journal, but was later released in the year 21 July 2005 under BSD license. The Django software foundation maintains its release and it recycle. The most recent version 3.2.4 was released in 2 June 2021.  

Installation of django

There are three ways of installing django in your system.

  • Installing an official release of django. The official release can be gotten from the website django official site (https://www.djangoproject.com)
  • Installing a version which is provided by your operating system 

And below are the steps to follow when using the third procedure.

If you already have python installed in your system, then it is easy to install django. Below are the steps to follow when installing django in your operating system.

Django can be downloaded from the python package called pip. So, let’s start by checking if pip has been installed. Pip is installed when installing python in your system.

Step 1: open the command and type the following py -m pip –version

Introduction to Django

Indicating that pip has been installed.

Step2: open the command and type the following py -m pip install “django”

Introduction to Django

This shows that we have install django in our system.

Verifying

To verify that django can be seen by python, we open the IDLE 

Introduction to Django
Popularity of Django.
Due its simplicity, django is used in most known websites such as
  • Instagram
  • Mozilla
  • Disqus
  • Pinterest
  • Bitbucket
  • The Washington Times

Hope this article on the introduction of django got you excited about working with it. See you in the next article and stay tune to this platform. Have a nice day coding guy.

Ask Question #trycoder
Facebook Page👉 https://bit.ly/3o688OF
Watch more videos here
Click to SUBSCRIBE to more Videos!

Please Like, Comment, Share and Subscribe THANK YOU!

0 Comments