1
0
mirror of https://github.com/django/django.git synced 2025-03-13 02:40:47 +00:00

[1.10.x] Fixed #26918 -- Clarified source of pre/post_save update_fields argument.

Backport of a05d86a69a7f11f00032b8d7846932b139c670e0 from master
This commit is contained in:
Tim Graham 2016-07-21 10:06:41 -04:00
parent dcf0a35b08
commit c8d166241f

View File

@ -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``
--------------