开发者

Do I need some special requirements for installing Django celery

I am very new to django and celery. I was reading their docs but I have problems with understanding them.

They have this code in their docs:

BROKER_BACKEND = "djkombu.transport.DatabaseTransport"
#celery
BROKER_HOST = "localhost"
BROKER_PORT = 5672
BROKER_USER = "guest"
BROKER_PASSWORD = "guest"
BROKER_VHOST = "/"

Now which host, username and password should I ent开发者_Go百科er there? Should it be the VPS host details, database details, or something else?


That would be the settings for the message broker that celery will use. You will therefore need to install and run a message broker first, e.g. RabbitMQ.

In fact, you might want to read the docs for celery first. Once you know how to get celery running, the answer to your question will be obvious.

Good luck.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜