Przeglądaj źródła

Fix typos in docs

Ask Solem 16 lat temu
rodzic
commit
f9e72648e4
2 zmienionych plików z 3 dodań i 6 usunięć
  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``.
 
 	* ``celery.datastructures.TaskProcessQueue`` is now renamed to
-	``celery.pool.TaskPool``.
+		``celery.pool.TaskPool``.
 
 	* The pool algorithm has been refactored for greater performance and
 		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
 Django application. The worker daemon will automatically load any ``tasks.py``
 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
 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.
 
 This is a task that basically does nothing but take some arguments,
-and return value:
+and return a value:
 
     >>> class MyTask(Task):
     ...     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
 really make sense.
 
-For periodic tasks to work you need to add ``celery`` to ``INSTALLED_APPS``,
-and issue a ``syncdb``.
-
 License
 =======