Open sirdodger opened 4 years ago
I bumped on the same issue.
After some digging i found a problem in the signal receiver flag_membership_changed
.
This issue is caused by how m2m_changed
retrieve the instance
. The code except to receive always an instance of model Flag
but this is not guarantee from m2m_changed
signal.
More info here https://docs.djangoproject.com/en/dev/ref/signals/#m2m-changed
I am running a Django 2.2.11 (but I also tested with 2.2.15) installation with django-waffle 1.0.0, and I am getting a failure in the m2m signal. As far as I can tell from the docs, that should be allowed?
I can replicate it with a clean installation.