1.下載安裝python-2.6.msi在C:\Python26, 設置環境變量PATH包含"C:\Python26".
2.用svn check out Django :
C:\Python26\Lib\site-packages>svn co
http://code.djangoproject.com/svn/django/trunk/
django django
3.設置環境變量PATH包含"C:\Python26\Lib\site-packages\django\bin".
4.創建 Django project:
E:\project\django>django-admin.py startproject myapp
5.測試一下:
E:\project\django>cd myapp
E:\project\django\myapp>python manage.py runserver
Validating models...
0 errors found
Django version 1.1 pre-alpha SVN-9218, using settings 'myapp.settings'
Development server is running at http://127.0.0.1:8000/
Quit the server with CTRL-BREAK.
[10/Oct/2008 00:13:46] "GET / HTTP/1.1" 200 2061
在瀏覽器中輸入http://127.0.0.1:8000/後出現:
It worked!
Congratulations on your first Django-powered page.
表示安裝成功!
5.使用UliPad进行Django项目开发
http://code.google.com/p/ulipad/