Browse Source

djcelery now has a 'celery' command

Ask Solem 12 năm trước cách đây
mục cha
commit
0cb26bc337
1 tập tin đã thay đổi với 3 bổ sung3 xóa
  1. 3 3
      docs/django/first-steps-with-django.rst

+ 3 - 3
docs/django/first-steps-with-django.rst

@@ -85,15 +85,15 @@ parts of the Celery documentation.
 Starting the worker process
 ===========================
 
-You can start a worker instance by using the ``celeryd`` manage command::
+You can start a worker instance by using the ``celery worker`` manage command::
 
-    $ python manage.py celeryd --loglevel=info
+    $ python manage.py celery worker --loglevel=info
 
 In production you probably want to run the worker in the
 background as a daemon, see `Running Celery as a daemon`_.
 For a complete listing of the command line options available, use the help command::
 
-    $ python manage.py help celeryd
+    $ python manage.py celery help
 
 .. _`Running Celery as a Daemon`:
     http://docs.celeryproject.org/en/latest/tutorials/daemonizing.html