Django (Python Web Developement Framework) Installation in Windows
It took me about five different installation guides, but I finally got Django to work on my Windows XP .
Here’s a a simpe step for those who were having hard time in django installation in windows.
1. Download Python 2.6 from here.
2. Download latest version of Django from here. Extract the file on C drive. which makes c:/Django.
3. You can see setup.py file under c:/Django folder.
4. Go to windows command prompt and navigate to the c:/Django folder and enter
python setup.py install
. For this you should have set the python folder to the path of windows . You can do this by
=> Right click on “My Computer” and select Properties. Go to advanced, then Environment Variables at the bottom. Edit “Path” and enter the above path ”c:\Python26”
5. Now you can see the django installed on the comment prompt. Its not finished yet.
6. Navigate to the
C:\Python26\Lib\site-packages\
. You can see directory named ‘Django’ which ensures that django has been successfully installed in your system.
Now its time to create project and run server .
7. Go to command prompt and navigate to
C:\Python26\Lib\site-packages\django\bin>
and enter ‘
django-admin.py startproject mysite
‘ without single quote. This will create your project inside the bin folder with name ‘mysite’.
8. Again go to command prompt and naviagate to
C:\Python26\Lib\site-packages\django\bin\mysite>
and enter
manage.py runserver
and go to your browser and type
http://127.0.0.1:8000/
You can see the page like this:

This is how I made django installed on my windows xp. Hope you will find this steps useful to start with django installation and start your django web application .A good alternative for django installation in windows will be instantDjango like we have instantrails for ruby on rails.
About creating ‘helloworld’ web application I will soon update this post.


Nice job man, do further research in such common problems in php, mysql, jquery and other… keep updating the solutions……….. wish u al da best n happy new year 2010
Python is great. You have done a good job Man, this blog is really helpful. Keep up the good work.
Good Job!
The unique way that I found it works!!!
I wonder if I have to do all this -large- process to start a new project with django n’ python everytime…
[if i´m right > I will keep with php]
I go to the next tutorial with the whole hope of the world…
Great !