Wednesday, March 25, 2009

How to install Django Screencast



Video tutorial how to install Django

1. Download Python

http://www.python.org/download/

for this tutorial i used python 2.5.4

http://www.python.org/download/releases/2.5.4/

2. Download Django

http://www.djangoproject.com/download/

for this tutorail i used Django 1.0.2

http://media.djangoproject.com/releases/1.0.2/Django-1.0.2-final.tar.gz

3. Install python

4. Right click My Computer -> Properties -> Advanced -> Environment Variables -> System Variables -> Path

add ;C:\Python25;C:\Python25\Scripts

5. Log off

6. Log In

7. Extract Django

8. Start -> run -> cmd

9. Find Django folder that you extract

10. setup.py install

11. Aftar complete, type python

12. import django

13. print django.get_version()

6 comments:

  1. Thanks Awesome I did not try still but I know its excellent :)

    ReplyDelete
  2. Thank you, it works fine for me. :)

    ReplyDelete
  3. Thanks I used a later version python26 got confused here ;C:\Python25;C:\Python25\Scripts

    So after 30min of error I realized I was not using 25 and changed it to:
    ;C:\Python26;C:\Python26\Scripts

    So if you are following this just watch what version you are using. Overall Thanks for the Tutorial

    ReplyDelete
  4. Thank you very much. This should be included in The Django Book!

    ReplyDelete
  5. Thanks for the post. I am using Vista. However when I type django-admin.py startproject todo in cmd, it does not create a folder. do you have any idea how to fix this?

    ReplyDelete
  6. Thanks, very straight forward. Much appreciated!

    ReplyDelete