Browse Source

Forgot imports in example (thanks lucy)

Ask Solem 16 years ago
parent
commit
7c684a78c3
1 changed files with 1 additions and 0 deletions
  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):