Django Installation

Django development environment consists of installing and setting up Python, Django, and a Database System since Django deals with a web application.

Below the statement will guide you through installing Python 3.8.0 and Django on Windows 10. It also provides instructions for installing virtualenv and virtualenvwrapper, which make it easier to work on Python projects. It will help full for beginner’s guide for users working on Django projects and does not reflect how Django should be installed when developing patches for Django itself.

 Installtion of python by the given link http://www.python.org/download.

Django Installation

Django requires pip to start installation. Pip is a package manager system which is used to install and manage packages written in python. For Python 3.4 and higher versions pip3 is used to manage packages.

In this tutorial, we are installing Django in window10 operating system.

The complete installation process is described below. Before installing make sure pip is installed in local system.

Django Installation

Here we are intstalling Django using pip3 the installation command is given below

Install virtualenv and virtualenvwrapper

Virtualenv(is a tool that create isolated environment for python) and virtualenvwrapper

(Extensions include wrappers to create and eliminate virtual environments and manage your development workflow, making it easier to work on more than one project at a time without introducing conflicts in your dependencies.) provide a dedicated environment for each Django project we create. While Simply type in Window PowerShell .

Django Installation

Creating  a virtual environment for a  project by 

Django Installation

Install Django

 Django can be installed easily using pip within your virtual environment.In the command prompt, ensure your virtual environment is active, and execute the following command:

It will download and install the latest Django released.

After the installation has completed, we can verify Django installation by executing django-admin–version in the command prompt.

Django Installation

See Get your database running for information on database installation with Django.

                                                                            ,

Pin It on Pinterest

Share This