码迷,mamicode.com
首页 > 其他好文 > 详细

django安装篇

时间:2017-06-22 23:00:41      阅读:261      评论:0      收藏:0      [点我收藏+]

标签:技术   2.7   bit   span   for   default   入门   自己   book   

https://www.djangoproject.com/

环境  Django 1.11  Python 2.7

https://docs.djangoproject.com/en/dev/releases/1.11/

The Django 1.11.x series is the last to support Python 2. The next major release, Django 2.0, will only support Python 3.5+.

1.找本入门的中文书  

The Django Book 2.0中文译本

2.djangoproject

我的环境 Python 2.7.11 | 64-bit | (default, Jun 11 2016, 11:33:47) [MSC v.1500 64 bit (AMD64)]

Django 1.11 is the last version to support Python 2.7. Support for Python 2.7 and Django 1.11 ends in 2020.

 安装Django 1.11

Cmd下运行下述命令,前提是安装好了pip(我的canopy自己已经安装好了这个)

pip install Django==1.11.2

技术分享

 

测试安装成功

import django
django.VERSION

Out[8]: (1, 11, 2, u‘final‘, 0)

django安装篇

标签:技术   2.7   bit   span   for   default   入门   自己   book   

原文地址:http://www.cnblogs.com/alanminmin/p/7067561.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!