Django-import-export 资料收集(Django 导入导出数据) 用于处理导入和导出数据的库。django-import-export 库支持多种格式,包括 xls、csv、json、yaml 以及 tablib 支持的所有其他格式。它还有一个 Django 管理集成,使用起来非常方便。 ht ... continue reading django zhuoyuebiji 2020/9/4 1058
Django 2.2 管理后台添加找回密码功能 The Django admin site Adding a password reset feature You can add a password reset feature to the admin ... continue reading django zhuoyuebiji 2019/8/3 1054
Html clipboard.js 现代化的拷贝复制粘贴剪切文字 使用方法 请看官网:https://clipboardjs.com/ github: https://github.com/zenorocha/clipboard.js CDN 资源 资源地址:htt ... continue reading html zhuoyuebiji 2019/10/29 1048
UserWarning: redis-py works best with hiredis. Please consider installing warnings.warn(msg) 错误: UserWarning: redis-py works best with hiredis. Please consider installing warnings.warn(msg) 解决办法: ... continue reading 软件测试 zhuoyuebiji 2022/5/7 1041
必须要改掉的七个坏习惯 1. 长期熬夜,精神萎靡 -- 来深圳后,从开始 0 点睡到 2 点睡,期望能在 23:30 左右入睡 2. 过度消费,负债累累 -- 索性不负债,但也没存多少,期望能在五年内完成自己的计划的 3. 缺乏运动,免疫下 ... continue reading 生活感悟 zhuoyuebiji 2019/6/15 1035
网站文章链接提交给百度和谷歌 主动推送博客链接给百度 博客站点地图提交给谷歌 百度站长链接:https://ziyuan.baidu.com 谷歌站长链接:https://search.google.com/sear ... continue reading django zhuoyuebiji 2019/8/21 1031
Fiddler certificate Trust unable to configure windows to trust the fiddler root certificate 错误提示: fiddler certificate Trust unable to configure windows to trust the fiddler root certificate 解决办法: 重新 ... continue reading 软件测试 zhuoyuebiji 2021/12/8 1026
Docker 重新新建 mysql 容器,选择原来的数据目录,无法启动 错误日志: 解决办法: 正确的方法是先备份旧数据,删除旧容器,然后使用空的数据目录启动新容器,最后再选择性地从备份恢复需要的数据。 如果直接指定已经存在的数据目录启动新的 mysql 容器,会导致无法正常启动的问题 ... continue reading docker zhuoyuebiji 2023/7/12 1026
用百度搜索获取 IP 地址的归属地(已经失效) 思路:把 IP 地址当关键词拼上百度的搜索链接,然后用正则匹配想要的信息。 代码: import re import requests requests.packages.urllib3.disable_warnin ... continue reading python zhuoyuebiji 2019/9/24 1025
Django admin 根据新增还是编辑来显示 readonly_fields 字段 class AnchorBindAgentAdmin(admin.ModelAdmin): def get_readonly_fields(self, request, obj=None): """ ... continue reading django zhuoyuebiji 2020/4/3 1024