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.
On Tuesday, 13 June 2017 08:30:43 UTC-4, yingi keme wrote: > > I dont particularly understand how you wish to be updated and know when a > record is added or removed. > > Nevertheless, you can make use of django signals (Thanks to melvyn). It > will be of great help. > > Yingi Kem > > On 13 Jun 2017, at 12:54 PM, Stodge <sto...@gmail.com <javascript:>> > wrote: > > 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 <javascript:>. > To post to this group, send email to django...@googlegroups.com > <javascript:>. > 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 > > <https://groups.google.com/d/msgid/django-users/f38aaf2b-fda8-49ff-86db-bfc1a25b1ac1%40googlegroups.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > > -- 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+unsubscr...@googlegroups.com. To post to this group, send email to django-users@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/7dcbf8c0-0e46-4a52-98f0-954be47c1a6a%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.