Django系列环境配置:修订间差异
跳转到导航
跳转到搜索
无编辑摘要 |
小无编辑摘要 |
||
| 第17行: | 第17行: | ||
1.11.4 | 1.11.4 | ||
</pre> | </pre> | ||
===安装验证码模块captcha=== | |||
<pre>$ pip install django-simple-captcha</pre> | |||
2020年3月28日 (六) 03:41的版本
安装Django
官网:https://www.djangoproject.com
Django当前最新版本是 1.11.4,1.11系列也是 Django支持 python2.7的最后一个系列版本,安装也很简单:
进入 python的安装目录,如默认的 C:\\Python27,再进入 Scripts目录,这里应该可以找到 pip.exe,cmd运行:
C:\Python27\Scripts>pip install Django==1.11.4
确认安装是否成功:
C:\Python27\Scripts>python Python 2.7.9 (default, Dec 10 2014, 12:24:55) [MSC v.1500 32 bit (Intel)] on win32 Type "help", "copyright", "credits" or "license" for more information. >>> import django >>> print django.get_version() 1.11.4
安装验证码模块captcha
$ pip install django-simple-captcha