1.Django的各种版本可以在官网上下载(

2.D:\>"c:\Python27\Scripts\django-admin.exe" startproject mypro_dj01

3.创建第一个Django工程

4.file1.py

__author__ = 'Administrator'

from django.http import HttpResponse
def helotheworld(request):
    return HttpResponse('hello the world:django')

4. 映射:

url.py-->import mypro.file1.function1

url(r'^abcd/$',function1)

5.restartserver   c:\Python27\Scripts\django-admin.exe" startproject mypro_dj01