Re: Decisions needed on signals for add/remove/clear on many-to-many relations

2009-01-23 Thread rvdrijst
I recently found the time to create a better patch for the m2m signals, including some tests and documentation and have posted this patch on http://code.djangoproject.com/ticket/5390 I have taken into account Malcom's suggestions resulting in one signal called m2m_changed that has the following a

Re: Decisions needed on signals for add/remove/clear on many-to-many relations

2008-12-20 Thread Malcolm Tredinnick
On Fri, 2008-12-19 at 08:42 -0800, rvdrijst wrote: > I know there has already been some discussion about adding signals to > the ManyRelatedManager so that add(), remove() and clear() on m2m > relations emit signals. This functionality, [ORM-18] in the v1.1 > roadmap, would complement the behavior

Decisions needed on signals for add/remove/clear on many-to-many relations

2008-12-19 Thread rvdrijst
I know there has already been some discussion about adding signals to the ManyRelatedManager so that add(), remove() and clear() on m2m relations emit signals. This functionality, [ORM-18] in the v1.1 roadmap, would complement the behavior of pre/post_save and pre/ post_delete very nicely and prov