Running Django-Celery in Production

后端 未结 1 1931
小鲜肉
小鲜肉 2021-02-13 18:25

I\'ve built a Django web application and some Django-Piston services. Using a web interface a user submits some data which is POSTed to a web service and that web service in tur

1条回答
  •  北荒
    北荒 (楼主)
    2021-02-13 18:54

    So I ended up having a chat with the project lead on django-celery. Couple of things. First off celery must be run using 'manage.py celeryd'. Secondly, in the settings.py file you have to 'import djcelery' This import issue may be fixed in the next version but for now you have to do this.

    0 讨论(0)
提交回复
热议问题