Opened 14 years ago

Closed 14 years ago

Last modified 14 years ago

#14477 closed (fixed)

minor typo in the examples of m2m_changed signal

Reported by: slink <gabor@…> Owned by: nobody
Component: Documentation Version: 1.2
Severity: Keywords:
Cc: Triage Stage: Accepted
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

In the Signals chapter of the Django documentation, there is a minor typo. The m2m_changed model signal has actions with names "pre_add", "post_add", etc. described which is true. Right below in the two examples listed, the documentation only writes "add", "remove". It should write "pre_add"/"post_add" and "pre_remove"/"post_remove".

Attachments (1)

signals.patch (805 bytes ) - added by Andrews Medina 14 years ago.

Download all attachments as: .zip

Change History (5)

comment:1 by Gabriel Hurley, 14 years ago

Triage Stage: UnreviewedAccepted

by Andrews Medina, 14 years ago

Attachment: signals.patch added

comment:2 by Andrews Medina, 14 years ago

Has patch: set

comment:3 by Gabriel Hurley, 14 years ago

Resolution: fixed
Status: newclosed

(In [14304]) Fixed #14477 -- Corrects several instances of "add" and "remove" m2m_changed signal actions not having been updated to "pre_add", "post_add", etc. Thanks to slink and andrews for reporting several instances of it, and andrews for the draft patch.

comment:4 by Gabriel Hurley, 14 years ago

(In [14305]) [1.2.X] Fixed #14477 -- Corrects several instances of "add" and "remove" m2m_changed signal actions not having been updated to "pre_add", "post_add", etc. Thanks to slink and andrews for reporting several instances of it, and andrews for the draft patch.

Backport of [14304] from trunk.

Note: See TracTickets for help on using tickets.
Back to Top