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\setup.py install
4. after it, you will get Script directory created that just consist of one file: django-admin.py
7. type: Scripts\django-admin.py 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\manage.py runserver
10. browse: localhost:8000
No comments:
Post a Comment