Django intro

Django is a Free and open-source python based web framework. It is used for fast development for secure, realistic design. Django consists of all the tools that are used for developing web applications. Django is suitable for both front-end development and back-end development. Django includes all the advanced functionalities like admin panel, comment box, contact form, etc. There is no need to add these functionalities on your own and waste your important time on developing these functionalities. It helps you to do any type of project. The project may be simple or it is very high-loaded web application development. There are the following most popular web-application that is developed by Django.

  • Instagram
  • Mozilla
  • Spotify
  • NASA
  • Pinterest

Features of Django

Django is the popular python framework. There a lot of features that make Django popular some of them are following.

  1. Fast
    • Django helps to developed web applications very fast because there is no need to start your project from the scratch in Django. There are a lot of functionalities that can increase the speed of the development process.
  2. Secure
    • Django is a very secure framework. Django helps developers to escape a lot of security mistakes like cross-site requests, SQL injection, etc.
  3. Open-source
    • Django is a Free and open-source python based web framework. Django is publicly available and there is no cost for using Django.
  4. Component
    • There are a lot of components available in Django like database connectivity, login, etc. all these things come bundled in Django.

Installation of Django

There are a lot of OS like MAC, Linux base, Windows. As different types of OS, we have different types of setup for Django. In this tutorial, I am showing the installation of Django in windows.

There are the following steps for the installation of Django

Download and install python setup.

The first step is to download the latest version of python from python.org and then install the python setup into your system

django_intro_1

Then open the command prompt and enter the “python – -version” command and check that python is installed on your system.

django_intro_2

Download and Install PyCharm 

In this step download the latest version of PyCharm from jetbrains.com and the install Pycharm on your system and restart your system.

django_intro_3

Configure PyCharm

In this step, we have to do the setting of PyCharm, First of all open PyCharm in your system and click on the new project.

django_intro_4

Then select the “previously configured interpreter” option and click on three dots. Then select the environment you wanted to select but here I will select “system interpreter” and select python as well for interpreter and then click the ok button.

django_intro_5

And then click on the create button.

Install Django

To install Django go to a setting or press Ctrl+Alt+S from your keyboard then select the “Project: pythonproject” option and click on Python interpreter.

django_intro_6

After that click on + to install Django. Search Django on the search bar and select Django and then click on install package.

django_intro_7

After Django is installed successfully you can use all the functionality of the Django.

Leave a Reply

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