瀏覽代碼

Fixed #26918 -- Clarified source of pre/post_save update_fields argument.

Tim Graham 8 年之前
父節點
當前提交
a05d86a69a
共有 1 個文件被更改,包括 4 次插入4 次删除
  1. 4 4
      docs/ref/signals.txt

+ 4 - 4
docs/ref/signals.txt

@@ -125,8 +125,8 @@ Arguments sent with this signal:
     The database alias being used.
 
 ``update_fields``
-    The set of fields to update explicitly specified in the ``save()`` method.
-    ``None`` if this argument was not used in the ``save()`` call.
+    The set of fields to update as passed to :meth:`.Model.save`, or ``None``
+    if ``update_fields`` wasn't passed to ``save()``.
 
 ``post_save``
 -------------
@@ -158,8 +158,8 @@ Arguments sent with this signal:
     The database alias being used.
 
 ``update_fields``
-    The set of fields to update explicitly specified in the ``save()`` method.
-    ``None`` if this argument was not used in the ``save()`` call.
+    The set of fields to update as passed to :meth:`.Model.save`, or ``None``
+    if ``update_fields`` wasn't passed to ``save()``.
 
 ``pre_delete``
 --------------