加载中
【原创】 在django中使用celery 任务队列,redis做后端

1.安装好celery 2.在你的django项目下新建一包queue(包名可以随便启),下面是我的结构 3.context_init.py 这是初始化django 项目环境变量的,在celery启动时会调用,下面是代码: from __f...

2012/10/18 12:00
4.5K
MAC安装:websocket-bench make: *** [Release/obj.target/validation/src/validation.o] Error 1

MAC安装:websocket-bench sudo npm install --unsafe-perm=true -g websocket-bench websocket-bench error: make: *** [Release/obj.target/validation/src/validation.o] Error 1 xcode...

解决MySQL突然占用内存过高

要关闭Performance Schema ,在你的 MySQL 配置文件的[mysqld]字段添加一句 performance_schema=off

2019/08/16 14:22
1.2K
django 上不显示.svg 图标处理方法

django 上不显示.svg 图标处理方法 在setting文件的最开始添加如下内容: import mimetypes mimetypes.add_type("image/svg+xml", ".svg", True) mimetypes.add_type("image/svg+xml", ".svgz...

2019/04/27 17:56
1.2K
git ssh免密配置

1.生成公钥 ssh-keygen -t rsa -C "a@163.com" -f filename 2.git 添加 filename.pub 3. filename, filename.pub复制到 .ssh 目录下 sudo ssh-agent bash sudo ssh-add filename 4. git pul...

2019/04/11 12:11
184
mac pillow5.3 error zlib

mac pillow5.3 error: The headers or library files could not be found for zlib 解决: xcode-select --install 然后再安装 pip install pillow......

2019/01/02 12:30
364
mount error(13): Permission denied window

ubuntu 下挂载window目录下报权限错误: CIFS VFS: cifs_mount failed w/return code = -13 Status code returned 0xc000006d NT_STATUS_LOGON_FAILURE 试了N多办法,最后在命令加上下面参数O...

2017/05/23 11:25
1.8K
ansible sudo_flags = -i

ansible sudo_flags = -i

2017/02/04 11:16
165
source: not found\nPython 2.7.6

source: not found\nPython 2.7.6

2017/02/03 16:08
242

没有更多内容

加载失败,请刷新页面

返回顶部
顶部