Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

[1.5.x] Fixed #20654 -- Fixed type of `m2m_changed`'s `pk_set` arg in…

… docs

Backport of 9a2b07f from master
  • Loading branch information...
commit 030ef4d1afe8c49da24ae7e6a1b8205041db8c61 1 parent 0261922
Daniel Izquierdo authored June 25, 2013 timgraham committed June 25, 2013

Showing 1 changed file with 3 additions and 3 deletions. Show diff stats Hide diff stats

  1. 6  docs/ref/signals.txt
6  docs/ref/signals.txt
@@ -255,7 +255,7 @@ Arguments sent with this signal:
255 255
 
256 256
 ``pk_set``
257 257
     For the ``pre_add``, ``post_add``, ``pre_remove`` and ``post_remove``
258  
-    actions, this is a list of primary key values that have been added to
  258
+    actions, this is a set of primary key values that have been added to
259 259
     or removed from the relation.
260 260
 
261 261
     For the ``pre_clear`` and ``post_clear`` actions, this is ``None``.
@@ -307,7 +307,7 @@ Argument        Value
307 307
 ``model``       ``Topping`` (the class of the objects added to the
308 308
                 ``Pizza``)
309 309
 
310  
-``pk_set``      ``[t.id]`` (since only ``Topping t`` was added to the relation)
  310
+``pk_set``      ``set([t.id])`` (since only ``Topping t`` was added to the relation)
311 311
 
312 312
 ``using``       ``"default"`` (since the default router sends writes here)
313 313
 ==============  ============================================================
@@ -334,7 +334,7 @@ Argument        Value
334 334
 ``model``       ``Pizza`` (the class of the objects removed from the
335 335
                 ``Topping``)
336 336
 
337  
-``pk_set``      ``[p.id]`` (since only ``Pizza p`` was removed from the
  337
+``pk_set``      ``set([p.id])`` (since only ``Pizza p`` was removed from the
338 338
                 relation)
339 339
 
340 340
 ``using``       ``"default"`` (since the default router sends writes here)

0 notes on commit 030ef4d

Please sign in to comment.
Something went wrong with that request. Please try again.