delete object with ManyToManyField (option through)
|Reported by:||anonymous||Owned by:||nobody|
|Has patch:||no||Needs documentation:||no|
|Needs tests:||no||Patch needs improvement:||no|
I have a Model like this
m2m = models.ManyToManyField(A, through='C')
when I delete an object of class A with admin interface it tells me that it delete objects of class C with a reference with this object of class A.
But in reality it not delete the object.
I suppose there is a bug with intermediate table and option "through" in delete operation.
Change History (6)
comment:1 Changed 7 years ago by jacob
- Needs documentation unset
- Needs tests unset
- Patch needs improvement unset
- Triage Stage changed from Unreviewed to Accepted