mirror of https://github.com/django/django.git
[1.10.x] Fixed #26918 -- Clarified source of pre/post_save update_fields argument.
Backport of a05d86a69a
from master
This commit is contained in:
parent
dcf0a35b08
commit
c8d166241f
|
@ -125,8 +125,8 @@ Arguments sent with this signal:
|
||||||
The database alias being used.
|
The database alias being used.
|
||||||
|
|
||||||
``update_fields``
|
``update_fields``
|
||||||
The set of fields to update explicitly specified in the ``save()`` method.
|
The set of fields to update as passed to :meth:`.Model.save`, or ``None``
|
||||||
``None`` if this argument was not used in the ``save()`` call.
|
if ``update_fields`` wasn't passed to ``save()``.
|
||||||
|
|
||||||
``post_save``
|
``post_save``
|
||||||
-------------
|
-------------
|
||||||
|
@ -158,8 +158,8 @@ Arguments sent with this signal:
|
||||||
The database alias being used.
|
The database alias being used.
|
||||||
|
|
||||||
``update_fields``
|
``update_fields``
|
||||||
The set of fields to update explicitly specified in the ``save()`` method.
|
The set of fields to update as passed to :meth:`.Model.save`, or ``None``
|
||||||
``None`` if this argument was not used in the ``save()`` call.
|
if ``update_fields`` wasn't passed to ``save()``.
|
||||||
|
|
||||||
``pre_delete``
|
``pre_delete``
|
||||||
--------------
|
--------------
|
||||||
|
|
Loading…
Reference in New Issue