瀏覽代碼

Fix typos in docs

Ask Solem 16 年之前
父節點
當前提交
f9e72648e4
共有 2 個文件被更改,包括 3 次插入6 次删除
  1. 1 1
      Changelog
  2. 2 5
      README.rst

+ 1 - 1
Changelog

@@ -66,7 +66,7 @@ arguments, so be sure to flush your task queue before you upgrade.
 	* Renamed the ``TaskDaemon`` to ``WorkController``.
 	* Renamed the ``TaskDaemon`` to ``WorkController``.
 
 
 	* ``celery.datastructures.TaskProcessQueue`` is now renamed to
 	* ``celery.datastructures.TaskProcessQueue`` is now renamed to
-	``celery.pool.TaskPool``.
+		``celery.pool.TaskPool``.
 
 
 	* The pool algorithm has been refactored for greater performance and
 	* The pool algorithm has been refactored for greater performance and
 		stability.
 		stability.

+ 2 - 5
README.rst

@@ -177,7 +177,7 @@ So while it looks like we use the python shell to define the tasks in these
 examples, you can't do it this way. Put them in the ``tasks`` module of your
 examples, you can't do it this way. Put them in the ``tasks`` module of your
 Django application. The worker daemon will automatically load any ``tasks.py``
 Django application. The worker daemon will automatically load any ``tasks.py``
 file for all of the applications listed in ``settings.INSTALLED_APPS``.
 file for all of the applications listed in ``settings.INSTALLED_APPS``.
-Execution tasks using ``delay`` and ``apply_async`` can be done from the
+Executing tasks using ``delay`` and ``apply_async`` can be done from the
 python shell, but keep in mind that since arguments are pickled, you can't
 python shell, but keep in mind that since arguments are pickled, you can't
 use custom classes defined in the shell session.
 use custom classes defined in the shell session.
 
 
@@ -186,7 +186,7 @@ a task class. With this way you can cleanly upgrade the task to use the more
 advanced features of celery later.
 advanced features of celery later.
 
 
 This is a task that basically does nothing but take some arguments,
 This is a task that basically does nothing but take some arguments,
-and return value:
+and return a value:
 
 
     >>> class MyTask(Task):
     >>> class MyTask(Task):
     ...     name = "myapp.mytask"
     ...     name = "myapp.mytask"
@@ -261,9 +261,6 @@ Here's an example of a periodic task:
 **Note:** Periodic tasks does not support arguments, as this doesn't
 **Note:** Periodic tasks does not support arguments, as this doesn't
 really make sense.
 really make sense.
 
 
-For periodic tasks to work you need to add ``celery`` to ``INSTALLED_APPS``,
-and issue a ``syncdb``.
-
 License
 License
 =======
 =======