Django 组装表名查询数据(动态表名、组合表名) 了解 getattr 函数 教程:https://www.runoob.com/python/python-func-getattr.html 描述 getattr() 函数用于返回一个对象属性值。 ... continue reading django zhuoyuebiji 2019/12/17 1691
Centos7 之 sshd,iptables,firewall,fail2ban 常用操作 SSHD # 在原端口 22 下,新增 sshd 端口 20000,并 开启账号密码登录、开启 root 账号登录 vim /etc/ssh/sshd_config Port 20000 PasswordAuth ... continue reading centos zhuoyuebiji 2019/1/8 1690
Drf 启动报错:AssertionError: `coreapi` must be installed for schema support. 错误日志(error log): AssertionError: `coreapi` must be installed for schema support. 解决办法(solution): (joyoo2) yin ... continue reading django zhuoyuebiji 2020/5/25 1690
Django import_export 个性化可视化导出外键字段 models.py class Article(models.Model): """ 主题表/文章表 """ title = models.CharField(max_length=128, ... continue reading django zhuoyuebiji 2020/12/9 1685
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 1678
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 1671
DDR3 内存带宽计算 DIMM:Dual-Inline-Memory-Modules,即双列直插式存储模块。168个引脚,64位。 内存带宽计算公式:带宽=内存核心频率×内存总线位数×倍增系数/8。 ... continue reading 计算机基础 zhuoyuebiji 2019/10/19 1671
Fiddler 请求超时的 Session 背景色 显示成 红色 想法 最近突然有个想法,在 Fiddler 里能做到 显示 单个会话的消耗时间,那么我想 超时的会话 背景色 显示成指定的颜色,方便区分。 困难 时间差怎么跟指定数字比较,之前 官网的 消耗时间显示的字符串,不适 ... continue reading 软件测试 zhuoyuebiji 2019/9/30 1670
Window10 python 3.6.8 本地 OCR 模块 muggle_ocr 安装实践 模块介绍地址:https://pypi.org/project/muggle-ocr/1.0/#description 其实最主要还是 muggle-ocr-1.0.tar.gz (6.37M)和 tensorflow-2. ... continue reading python zhuoyuebiji 2020/6/3 1663
Fiddler 和 Charles 常用功能点 Fiddler 常用功能点(windows) 1. 抓包(Http/Https Seesions) 2. 断点(Rules -> Automatic BreakPoints -> Befor/After Requests) ... continue reading 软件测试 zhuoyuebiji 2019/8/14 1657