virtualenv 安装文档
( )
Django Hello World步骤
- virtualenv helloworld
- source helloworld/bin/activate
- pip install Django
- django-admin.py startproject helloproject
- cd helloproject
- python manage.py startpapp app1
- vim helloproject/urls.py
- vim app1/views.py -> 增加def hello(request): return HttpResponse("Hello World")
- python manage.py runserver