Getting started with a django-celery dealer

This is my first time using celery, so this can be a very simple question. I follow the tutorial . I added BROKER_URL = "amqp://guest:guest@localhost:5672/"to my settings file. I added a simple task to my application. Now I am doing a "workflow" with

manage.py celeryd --loglevel=info --settings=settings

Settings = settings required for window machines celery-django cannot find settings .

I get [Errno 10061] No connection could be made because the target machine actively refused it. Trying again in 2 seconds...

So, it seems that the worker cannot contact the broker. Should I get started with a broker? Starts automatically with manage.py runserver? Should I install anything besides django-celery? Should I do something like manage.py runserver BROKER_URL?

Any pointers would be much appreciated.

+3
source share
1

. django db.

django db . . .

+2

All Articles