阅读背景:

在Celery任务运行时调用settings.py变量

来源:互联网 

I have a Django app, and need to add a Celery async tasks. I would like to call in the tasks a settings variable from dev.py for example MY_VARIABLE='test'. To simplified the example lets assume that there is my task:I have a Django app, and need to add a Celery a




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: