异步任务利器Celery(二)在django项目中使用Celery
rn一个django项目的组织如下:rnrn- proj/rn – manage.pyrn – proj/rn – __init__.pyrn – settings.pyrn – urls.pyrnrnrn首先建立proj/proj/celery.py文件:rnrnfrom __
rn一个django项目的组织如下:rnrn- proj/rn – manage.pyrn – proj/rn – __init__.pyrn – settings.pyrn – urls.pyrnrnrn首先建立proj/proj/celery.py文件:rnrnfrom __
n一个django项目的组织如下:nn- proj/n – manage.pyn – proj/n – __init__.pyn – settings.pyn – urls.pynnn首先建立proj/proj/celery.py文件:nnfrom __future__ impo…