浏览代码

Docs: Fixes unbalanced parens. Closes #3552

Ask Solem 8 年之前
父节点
当前提交
45d08076c4
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      docs/whatsnew-4.0.rst

+ 1 - 1
docs/whatsnew-4.0.rst

@@ -240,7 +240,7 @@ Example usage:
             article = Article.objects.create(**request.POST)
             article = Article.objects.create(**request.POST)
             # send this task only if the rest of the transaction succeeds.
             # send this task only if the rest of the transaction succeeds.
             transaction.on_commit(partial(
             transaction.on_commit(partial(
-                send_article_created_notification.delay, article_id=article.pk)
+                send_article_created_notification.delay, article_id=article.pk))
             Log.objects.create(type=Log.ARTICLE_CREATED, object_pk=article.pk)
             Log.objects.create(type=Log.ARTICLE_CREATED, object_pk=article.pk)
 
 
 Removed features
 Removed features