Receive our weekly advanced programming tips for FREE
04.March
How to install Django on Windows
0
| 0 votes
Autor: bookkeeper
Chapter: Django
Django is a web framework written in Python. It's a high-level Python web framework for rapid development and clean, pragmatic design!


In this tutorial we are going to install Django on Windows


There is two ways two install it:


I. SVN(recommended)

1. Create a folder something like "repository" and change into it
2. Checkout the code with SVN: svn co http://code.djangoproject.com/svn/django/trunk/django django
3. You will have a folder called django
4. Set a new environment PYTHONPATH and set the value to where you checkout django, example: "C:\repository"
5. Call python and import django like: "import django"
6. If python doesn't say anything when you are ready to go!

II. Download

2. Download the recent version
3. Unpack it
4. Change to django folder
5. Install it:  python setup.py install
6. Call python and import django like: "import django"
7. If python doesn't say anything when you are ready to go!

Done!