You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# testmA=ModelA.objects.create(name='A')
mB=ModelB.objects.create(name='B')
M2M.objects.create(left=mA, right=mB)
mB.objects.filter(left__left__name='A').count()
# Thats ok. Only one instance found hereM2M.objects.all().delete()
mB.objects.filter(left__left__name='A').count()
# Still finding objects when should be hiding through softdelete
The text was updated successfully, but these errors were encountered:
The problem seems to be in many to many scenarios.
Below a snippet on how to reproduce (untested)
The text was updated successfully, but these errors were encountered: