Browse Source

Another typo in callback example

Ask Solem 15 years ago
parent
commit
7aaf2fb31b
1 changed files with 1 additions and 1 deletions
  1. 1 1
      docs/userguide/tasks.rst

+ 1 - 1
docs/userguide/tasks.rst

@@ -528,7 +528,7 @@ Good:
     def update_page_info(url):
         # fetch_page -> parse_page -> store_page
         fetch_page.delay(url, callback=callback,
-                         callback_args=(store_page_info, ))
+                         callback_args=(store_page_info.delay, ))
 
     @task(ignore_result=True)
     def fetch_page(url, callback=None, callback_args=()):