摘要: G:\python3_django\DFpro\mypro (win)(py3_django) λ python manage.py celery worker --loglevel=infoTraceback (most recent call last): File "manage.py", l 阅读全文
posted @ 2017-10-26 17:45 mlj0503 阅读(2189) 评论(1) 推荐(0) 编辑
摘要: 安装两个python包: pip install celery==3.1.25 pip install django-celery==3.1.17 在配置文件settings.py中做如下配置: a) 首先注册应用djcelery并做如下配置。 b) 生成djcelery所依赖的表。 python 阅读全文
posted @ 2017-10-26 17:40 mlj0503 阅读(1344) 评论(0) 推荐(0) 编辑
摘要: # salt 盐 使用sha1加密算法,返回str加密后的字符串 # 提高字符串的复杂的 md5 用法相同 阅读全文
posted @ 2017-10-26 17:28 mlj0503 阅读(2028) 评论(0) 推荐(0) 编辑