Sunday, 16 October 2016

How to Install django on windows


What is Django:

Django is an open source web application framework which is written in python. Here we need to know that what is web framework? A web framework is a set of components that helps you to develop websites in a fast manner.



How to install django on windows environment:



1-First of all downloads the latest version of django Download Django., and Python. The downloaded file (django) could be in zip file. After downloading this file extract the folder and go to following path:

>> C:\django-1.10.1



In the above screen shot we are in our downloaded django folder and this folder have a "setup.py" file which is to be needed to install for installing django.

>> Copy this full path or directory path
>> Open command prompt (without administrator)



>> Now go to the copied path (using cd C:\your_django_version_no)




>> Now it's time to install "django" on windows platform. Run this (python setup.py install) command in command prompt to install django.




>> And hit enter to install setup.




>> How to check if I installed django well, to do this run the following commend in python power shell.

>> import django
>> django.VERSION







No comments:

Post a Comment