Browse Source

Explicitly pass the Celery instance name.

When starting a Celery worker module, it is assumed that the Celery instance within the module is called `app`. This is not the case in the Celery pattern, where it is called `celery`, and so must be explicitly referenced.
pull/972/head
Alex Pearce 11 years ago
parent
commit
3d6de4dd79
  1. 2
      docs/patterns/celery.rst

2
docs/patterns/celery.rst

@ -86,7 +86,7 @@ disappointed to learn that your ``.wait()`` will never actually return.
That's because you also need to run celery. You can do that by running
celery as a worker::
$ celery -A your_application worker
$ celery -A your_application.celery worker
The ``your_application`` string has to point to your application's package
or module that creates the `celery` object.

Loading…
Cancel
Save