自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(5)
  • 资源 (1)
  • 收藏
  • 关注

原创 DRF Error Log(用户相关)

问题:@receiver(post_save, sender=User)def create_user(sender, instance=None, created=False, **kwargs):……用户User的信号量post_save,在创建新用户的时候不触发,不运行create_user方法解决:settings的INSTALLED_APPS里不要用‘users’,换成‘u...

2018-12-28 14:16:22 421

原创 PySceneDetect 场景(镜头)切分之 linux命令和python API

linux命令#命令格式:scenedetect [global options] [commands + command options]scenedetect --input my_video.mp4 --output my_video_scenes --stats my_video.stats.csv time --start 00:05:00 --end 00:06:30 detect...

2018-12-21 18:09:34 5324 1

原创 linux pip uwsgi compiler_compat/ld: error: lto-wrapper failed collect2: error: ld returned 1 exit

linux-gnu/libpython3.6m.a -lutil -lcrypt lto1: fatal error: bytecode stream generated with LTO version 6.0 instead of the expected 4.2 compilation terminated. lto-wrapper: fatal error: gcc...

2018-12-07 14:28:35 4988

原创 supervisor djcelery(django、celery)在linux上的部署

(envDjango) [root@localhost logs]# pip install supervisorCollecting supervisor Using cached https://files.pythonhosted.org/packages/44/60/698e54b4a4a9b956b2d709b4b7b676119c833d811d53ee2500f1b5e96dc...

2018-12-07 11:49:38 874

原创 djcelery(django、celery)实现定时任务

# 启动web服务python manage.py runserver 172.xx.xx.xx:8000 # 启动celery wokerpython manage.py celery worker -l info # 启动beat, 执行定时任务. python manage.py celery beat -l info #启动可视化flowerpython manage...

2018-12-05 15:21:51 5604 1

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除