Celery—基本使用(2)

Celery配置文件 1、目錄結構 2、模塊代碼 1.__init__.pypython from celery import Celery app = Celery('demo') # 經過celery實例加載配置模塊 app.config_from_object('celery_app.celeryconfig') 2.celeryconfig.pyredis # -*- coding:ut
相關文章
相關標籤/搜索