I have a model with a many to many relationship. I need to know when a record is added to or removed from the many to many.Is this possible? Thanks
--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users...@googlegroups.com.
To post to this group, send email to django...@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/f38aaf2b-fda8-49ff-86db-bfc1a25b1ac1%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to a topic in the Google Groups "Django users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/django-users/I2vF9vQZHtU/unsubscribe.
To unsubscribe from this group and all its topics, send an email to django-users+unsubscribe@googlegroups.com.
To post to this group, send email to django...@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CACwCsY6YOVq7rhttg6Psm8X-p422EJZQ7V3Y7Zg64Of%2BauOuLQ%40mail.gmail.com.
On Tuesday 13 June 2017 05:32:35 Stodge wrote:
> Thanks. Yes I can use the m2m_changed signal but I need to know
> specifically if a record was added or if it was removed, not just that
> the m2m changed.
So you haven't actually checked the callback signature then (psst, the 'action' keyword argument).
--
Melvyn Sopacua