Tuesday, March 22, 2011

Python - Django Setup

To setup Django, do like this:
1. download the django
2. then place the extracted downloaded in python directory.
3. through command line, type: django\ install
4. after it, you will get Script directory created that just consist of one file:
7. type: Scripts\ startproject lucia
8. then you will get 4 new files:
   a. __init__
   b. manage
   c. settings
   d. urls
9. run your server by: python.exe lucia\ runserver
10. browse: localhost:8000

No comments:

Post a Comment