Explorar el Código

Forgot imports in example (thanks lucy)

Ask Solem hace 16 años
padre
commit
7c684a78c3
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  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):