自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(5)
  • 收藏
  • 关注

原创 python中filter与get的主要区别

all_records=EmailVerifyRecord.objects.filter(code=active_code) if all_records: for record in all_records: email=record.email user=UserProfile.objects.get(email=email) user.is_active=True

2017-11-20 16:54:58 1198

原创 用qq邮箱做服务器发邮件失败,530 A secure connection is requiered(such as ssl)后解决方案如下

# _*_ coding:utf-8 _*_ __author__ = 'midsky' __date__ = '2017/11/19 16:31' from random import Random from django.core.mail import send_mail from MxOnline.settings import EMAIL_FROM from email.mime.te

2017-11-20 13:33:30 2598

转载 django-simple-captcha==0.4.6 验证码插件使用方法

官方文档:http://django-simple-captcha.readthedocs.io/en/latest/usage.html#installation github:https://github.com/mbi/django-simple-captcha   安装部署 版本:django 1.9  1 pip

2017-11-19 13:54:50 845

原创 360浏览器、google chrome的resouces不见了,到这里了

今天听老师16年的课程讲道cookie 和session,在浏览器中点F12进行调试,用resources查看cookie,发现我的360浏览器、google chrome的resouces不见了,查找资料后发现转到Application里了。

2017-11-19 10:06:41 545

原创 xadmin下设置“use_bootswatch = True”无效解决方法

xadmin下设置“use_bootswatch = True”无效解决方法 http://blog.csdn.net/dimples_54/article/details/77963593 亲测有效。

2017-11-19 09:37:53 546

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除