Model instance deletion doesn't lead to the OneToOne mapped model deletion
|Reported by:||finnam@…||Owned by:||nobody|
|Has patch:||no||Needs documentation:||no|
|Needs tests:||no||Patch needs improvement:||no|
I was trying to add several OneToOne fields to the model which prevented me from making one of these fields to be a primary key. And it appears that when I delete the main model django doesn't automatically delete the related OneToOne mapped instances which should be a natural behaviour in my opinion.