浏览代码

Fixed typo

Dima Kurguzov 11 年之前
父节点
当前提交
3d2ffcab60
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      docs/userguide/tasks.rst

+ 1 - 1
docs/userguide/tasks.rst

@@ -1214,7 +1214,7 @@ First, an author creates an article and saves it, then the author
 clicks on a button that initiates the abbreviation task::
 clicks on a button that initiates the abbreviation task::
 
 
     >>> article = Article.objects.get(id=102)
     >>> article = Article.objects.get(id=102)
-    >>> expand_abbreviations.delay(model_object)
+    >>> expand_abbreviations.delay(article)
 
 
 Now, the queue is very busy, so the task won't be run for another 2 minutes.
 Now, the queue is very busy, so the task won't be run for another 2 minutes.
 In the meantime another author makes changes to the article, so
 In the meantime another author makes changes to the article, so