Model_utils _clone() got an unexpected keyword argument 'subclasses' 发生环境 从 Django 1.11 迁移到 Django 2.2 错误日志 django.request: 2020-05-22 16:12:18,196 E:\py_virtualenv\joyoo\lib\sit ... continue reading django zhuoyuebiji 2020/5/22 395
Windows Terminus 使用 private key 进行连接 添加 KEY 配置 settings -> keychain -> NEW -> Import or paste akey -> 连接时使用 ... continue reading centos zhuoyuebiji 2023/2/21 395
无头浏览器 phantomjs 官方下载链接 官方链接下载,安全无插件。 https://phantomjs.org/download.html 目前 chrome 和 Firefox 都已支持无头浏览器,参数为 options.add_arg ... continue reading selenium zhuoyuebiji 2023/2/17 392
作品署名申请 申请地址 https://creativecommons.org/choose/#metadata 填写内容 更多信息 获得代码 <a rel="license" href="http ... continue reading 闲话杂谈 zhuoyuebiji 2020/9/10 391
Docker denied: requested access to the resource is denied 错误日志 [root@ser8x11rcig9vyu ~]# docker tag 4048e60fd8dc whistle-docker:release-v2.9.52 [root@ser8x11rcig9vyu ~]# do ... continue reading docker zhuoyuebiji 2023/7/4 391
Celery 是否需要关注任务执行状态(全局和任务函数) 是否需要关注任务执行状态,这个要视具体的业务场景来看,如果对结果不关心,或者任务的执行本身会对数据产生影响,通过对数据的判断可以知道执行的结果那就不需要返回 celery 任务的退出状态,可以在配置文件里(settings.py ... continue reading django zhuoyuebiji 2021/3/4 389
Django 入门篇 🚀 https://www.cnblogs.com/sss4/p/7011148.html ... continue reading django zhuoyuebiji 2019/10/30 387
How to access the HttpRequest object in Django forms( Django view 给 forms 传递数据) Example 1: PASSING THE REQUEST OBJECT TO THE FORM In your view, when you create a form instance, pass the request ... continue reading django zhuoyuebiji 2020/5/26 387
Centos7 + nginx + nodejs 部署 centos7 安装 nodejs 环境 https://www.cnblogs.com/fozero/p/10967154.html yum 安装 nodejs: yum install -y nodejs 安 ... continue reading html zhuoyuebiji 2021/1/18 387
CentOS7 中使用 yum 安装 Nginx 的方法 1、添加源 默认情况Centos7 中无 Nginx 的源,最近发现 Nginx 官网提供了 Centos 的源地址。因此可以如下执行命令添加源: sudo rpm -Uvh http://nginx.org/packa ... continue reading centos zhuoyuebiji 2021/4/28 387