Browse Source

Forgot imports in example (thanks lucy)

Ask Solem 16 năm trước cách đây
mục cha
commit
7c684a78c3
1 tập tin đã thay đổi với 1 bổ sung0 xóa
  1. 1 0
      README

+ 1 - 0
README

@@ -204,6 +204,7 @@ advanced features of celery later.
 This is a task that basically does nothing but take some arguments,
 and return a value:
 
+    >>> from celery.task import Task, tasks
     >>> class MyTask(Task):
     ...     name = "myapp.mytask"
     ...     def run(self, some_arg, **kwargs):