Centos7 使用 Supervisor 守护进程 Celery Supervisor 官网 http://supervisord.org/ Supervisor 安装 Centos 7 安装 Supervisord centos7 进程守护命令 Syste ... continue reading centos zhuoyuebiji 2019/6/6 1916
Django 多级分类,一个 model 搞定 代码是一个学习项目代码,觉得这种分类方式挺简便,所以分享出来了。 from django.db import models # Create your models here. class GoodsCategor ... continue reading django zhuoyuebiji 2019/9/25 1910
Django annotate 分组统计 annotate 用法说明文档 http://doc.codingdict.com/django/ref/models/querysets.html#yiyi-860(基础) http://doc.codingdict.co ... continue reading django zhuoyuebiji 2019/10/30 1850
Django admin 使用 ckeditor 富文本编辑器 开发环境 python 3.6.8 django 1.11 配置步骤 1. 安装 django-ckeditor 库 pip install django-c ... continue reading django zhuoyuebiji 2017/9/29 1833
Django admin list_filter 显示外键字段 models.py class Node(models.Model): """ 节点表 """ name = models.CharField(max_length=128, unique= ... continue reading django zhuoyuebiji 2019/9/25 1828
Windows 下使用 python3 复制拷贝图片到剪切板(剪贴板、粘贴板) 如果你看到了这篇文章,请先复制代码改个图片路径试试看,能否成功。 开发环境: python 3.6.8 windows 10 实现功能: windows 下,使用 python3 把图片 拷贝/复制 到 ... continue reading python zhuoyuebiji 2018/8/6 1803
HttpRunnerManager 接口自动化测试平台 搭建实践 一、需要准备的知识点 1. linux: 安装 python3、nginx 安装和配置、mysql 安装和配置 2. python: django 配置、uwsgi 配置 二、我搭建的环境 1. Cent ... continue reading 软件测试 zhuoyuebiji 2019/5/30 1791
Python retry 和 retrying(失败重试) retry 官:https://pypi.org/project/retry/ 译:https://spaces.ac.cn/archives/3902 Easy to use retry ... continue reading python zhuoyuebiji 2019/12/18 1783
Iptables failed: iptables --wait -t nat -A DOCKER -p tcp -d 0/0 --dport 3306 -j DNAT --to-destination 172.17.0.2:3306 ! -i docker0: iptables: No chain/target/match by that name. (exit status 1)) 错误日志 [root@VM-0-7-centos conf]# docker restart mysql5.7 Error response from daemon: Cannot restart container mysq ... continue reading docker zhuoyuebiji 2021/12/21 1778
Django-simple-captcha 图形验证码使用总结 官方文档 https://django-simple-captcha.readthedocs.io/en/latest/usage.html https://github.com/mbi/django-simple-capt ... continue reading django zhuoyuebiji 2019/11/9 1777