浏览代码

Twiddled text on task registry a bit

runeh 15 年之前
父节点
当前提交
f546e9331f
共有 1 个文件被更改,包括 6 次插入6 次删除
  1. 6 6
      docs/getting-started/first-steps-with-only-celery.rst

+ 6 - 6
docs/getting-started/first-steps-with-only-celery.rst

@@ -27,11 +27,9 @@ All celery tasks are classes that inherit from the ``Task``
 class. In this case we're using a decorator that wraps the add
 class. In this case we're using a decorator that wraps the add
 function in an appropriate class for us automatically. The full
 function in an appropriate class for us automatically. The full
 documentation on how to create tasks and task classes are in
 documentation on how to create tasks and task classes are in
-FIXMELINKHERE.
+:doc:`Executing Tasks<../userguide/tasks>`.
+
 
 
-Celery workers maintain a registry of all the available tasks. For it
-to be able to do this you need to give it a list of which modules it
-should import. FIXME: move this below?
 
 
 Configuration
 Configuration
 =============
 =============
@@ -71,8 +69,10 @@ be handled elsewhere?
 
 
         CELERY_BACKEND = "amqp"
         CELERY_BACKEND = "amqp"
 
 
-4. Finally, we list the modules to import. We only have a single task
-   module, ``tasks.py``, which we added earlier::
+4. Finally, we list the modules to import, that is, all the modules
+   that contain tasks. This is so celery knows about what tasks it can
+   be asked to perform. We only have a single task module,
+   ``tasks.py``, which we added earlier::
 
 
         CELERY_IMPORTS = ("tasks", )
         CELERY_IMPORTS = ("tasks", )