安装:
$ pip install Django==1.11
查看是否安装成功:
$ python -c "import django; print(django.get_version())"
建立site和application:
$ django-admin startproject web_site_start
$ cd web_site_start
$ django-admin startapp start_app
启动site:
web_site_start$ python manage.py runserver
参考:《Python开发实践教程》于京 宋伟