mirror of
https://github.com/django/django.git
synced 2025-10-31 09:41:08 +00:00
[1.10.x] Fixed #26918 -- Clarified source of pre/post_save update_fields argument.
Backport of a05d86a69a from master
This commit is contained in:
@@ -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``
|
||||||
--------------
|
--------------
|
||||||
|
|||||||
Reference in New Issue
Block a user