官方文档:https://flower.readthedocs.io/en/latest/ 1、安装flower:pip install flower=0.9.2 2、启动
环境版本: windows7 x64 django 1.11.6 django-celery 3.2.2 工程结构说明:源码
环境说明: window7 X64 python 2.7.6 、celery 3.1.25、redis 2.10.6 本地安装的redis服务端版本号:Redis-x
工程结构说明__init__.py:实例化celery,并加载配置模块celeryconfig.py:配置模块task1:任务1,实现加法task2:任务2,实现乘法app.py:应用,任务生产者 1、__init__.py:实例化celery,并加载配置模块# -*- coding: utf-8 -*-from celery import Celerymyapp=Celery(
Copyright © 2005-2025 51CTO.COM 版权所有 京ICP证060544号