summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorDaniel Izquierdo <daniel.izquierdo@gmail.com>2013-06-25 14:40:56 +0900
committerTim Graham <timograham@gmail.com>2013-06-25 07:52:15 -0400
commit030ef4d1afe8c49da24ae7e6a1b8205041db8c61 (patch)
treeb0e64c92b5eb4fb342c6f488fa25fac4f23999af /docs
parent02619227a9271047c7d4b62a6aec744ca17f7270 (diff)
[1.5.x] Fixed #20654 -- Fixed type of `m2m_changed`'s `pk_set` arg in docs
Backport of 9a2b07f1b4 from master
Diffstat (limited to 'docs')
-rw-r--r--docs/ref/signals.txt6
1 files changed, 3 insertions, 3 deletions
diff --git a/docs/ref/signals.txt b/docs/ref/signals.txt
index 17c9865138..c17bfaf77e 100644
--- a/docs/ref/signals.txt
+++ b/docs/ref/signals.txt
@@ -255,7 +255,7 @@ Arguments sent with this signal:
``pk_set``
For the ``pre_add``, ``post_add``, ``pre_remove`` and ``post_remove``
- actions, this is a list of primary key values that have been added to
+ actions, this is a set of primary key values that have been added to
or removed from the relation.
For the ``pre_clear`` and ``post_clear`` actions, this is ``None``.
@@ -307,7 +307,7 @@ Argument Value
``model`` ``Topping`` (the class of the objects added to the
``Pizza``)
-``pk_set`` ``[t.id]`` (since only ``Topping t`` was added to the relation)
+``pk_set`` ``set([t.id])`` (since only ``Topping t`` was added to the relation)
``using`` ``"default"`` (since the default router sends writes here)
============== ============================================================
@@ -334,7 +334,7 @@ Argument Value
``model`` ``Pizza`` (the class of the objects removed from the
``Topping``)
-``pk_set`` ``[p.id]`` (since only ``Pizza p`` was removed from the
+``pk_set`` ``set([p.id])`` (since only ``Pizza p`` was removed from the
relation)
``using`` ``"default"`` (since the default router sends writes here)