Django import_export 个性化可视化导出外键字段 models.py class Article(models.Model): """ 主题表/文章表 """ title = models.CharField(max_length=128, ... continue reading django zhuoyuebiji 2020/12/9 1638
Django 组装表名查询数据(动态表名、组合表名) 了解 getattr 函数 教程:https://www.runoob.com/python/python-func-getattr.html 描述 getattr() 函数用于返回一个对象属性值。 ... continue reading django zhuoyuebiji 2019/12/17 1636
Django 按年月日归档 view.py class TimlelineView(generic.ListView): model = Article template_name = 'timeline.html' conte ... continue reading django zhuoyuebiji 2018/8/4 1624
Pip install pypinyin Killed (djangoblog) [root@taiwan-ss Joyo]# pip install pypinyin Collecting pypinyin Using cached https://files.pythonhost ... continue reading django zhuoyuebiji 2019/7/25 1623
Django2.2.6 check_password 验证失败解决办法(重设密码) python3.6, django 2.2.6 AUTHENTICATION_BACKENDS 里添加自定义认证 CustomBackend(邮箱、手机号等), 用 python manage.py creates ... continue reading django zhuoyuebiji 2019/10/17 1616
Fiddler 请求超时的 Session 背景色 显示成 红色 想法 最近突然有个想法,在 Fiddler 里能做到 显示 单个会话的消耗时间,那么我想 超时的会话 背景色 显示成指定的颜色,方便区分。 困难 时间差怎么跟指定数字比较,之前 官网的 消耗时间显示的字符串,不适 ... continue reading 软件测试 zhuoyuebiji 2019/9/30 1614
DDR3 内存带宽计算 DIMM:Dual-Inline-Memory-Modules,即双列直插式存储模块。168个引脚,64位。 内存带宽计算公式:带宽=内存核心频率×内存总线位数×倍增系数/8。 ... continue reading 计算机基础 zhuoyuebiji 2019/10/19 1614
Django debug=False 时能找到静态文件的几种方式(静态文件找不到) runserver 模式(临时用) 启动命令:django-admin runserver --insecure --help: --insecure Allows serving static file ... continue reading django zhuoyuebiji 2020/3/1 1612
微信 和 QQ 机器人 wxpy:微信机器人 github: https://github.com/youfou/wxpy docs: https://wxpy.readthe ... continue reading 软件测试 zhuoyuebiji 2019/6/13 1600