![](https://img-blog.csdnimg.cn/20201014180756913.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
python
搬币人
技术必须创造价值
展开
-
xadmin下设置“use_bootswatch = True”无效解决方法
xadmin下设置“use_bootswatch = True”无效解决方法http://blog.csdn.net/dimples_54/article/details/77963593亲测有效。原创 2017-11-19 09:37:53 · 553 阅读 · 0 评论 -
360浏览器、google chrome的resouces不见了,到这里了
今天听老师16年的课程讲道cookie 和session,在浏览器中点F12进行调试,用resources查看cookie,发现我的360浏览器、google chrome的resouces不见了,查找资料后发现转到Application里了。原创 2017-11-19 10:06:41 · 560 阅读 · 0 评论 -
django-simple-captcha==0.4.6 验证码插件使用方法
官方文档:http://django-simple-captcha.readthedocs.io/en/latest/usage.html#installationgithub:https://github.com/mbi/django-simple-captcha 安装部署版本:django 1.9 1pip转载 2017-11-19 13:54:50 · 850 阅读 · 0 评论 -
用qq邮箱做服务器发邮件失败,530 A secure connection is requiered(such as ssl)后解决方案如下
# _*_ coding:utf-8 _*___author__ = 'midsky'__date__ = '2017/11/19 16:31'from random import Randomfrom django.core.mail import send_mailfrom MxOnline.settings import EMAIL_FROMfrom email.mime.te原创 2017-11-20 13:33:30 · 2610 阅读 · 0 评论 -
python中filter与get的主要区别
all_records=EmailVerifyRecord.objects.filter(code=active_code)ifall_records:forrecord inall_records:email=record.emailuser=UserProfile.objects.get(email=email)user.is_active=True原创 2017-11-20 16:54:58 · 1201 阅读 · 0 评论