svn地址 http://code.djangoproject.com/svn/django/trunk
开始一个项目
django-admin.py startproject mysite
生成的目录
mysite/
__init__.py
manage.py
settings.py
urls.py
__init__.py
manage.py
settings.py
urls.py
运行(调试使用)
python manage.py runserver
python manage.py runserver 8080
python manage.py runserver 0.0.0.0:8000
python manage.py runserver 8080
python manage.py runserver 0.0.0.0:8000