Code

Ticket #14477: signals.patch

File signals.patch, 805 bytes (added by andrews, 4 years ago)
  • ref/signals.txt

     
    270270 
    271271    ``instance``    ``p`` (the ``Pizza`` instance being modified) 
    272272 
    273     ``action``      ``"add"`` 
     273    ``action``      ``"pre_add"/"post_add"`` 
    274274 
    275275    ``reverse``     ``False`` (``Pizza`` contains the :class:`ManyToManyField`, 
    276276                    so this call modifies the forward relation) 
     
    298298 
    299299    ``instance``    ``t`` (the ``Topping`` instance being modified) 
    300300 
    301     ``action``      ``"remove"`` 
     301    ``action``      ``"pre_remove"/"post_remove"`` 
    302302 
    303303    ``reverse``     ``True`` (``Pizza`` contains the :class:`ManyToManyField`, 
    304304                    so this call modifies the reverse relation)