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
Yes, I have the same issue. It is actually causing some problems for me as it was pulling up deleted records in a form and filling it out, but then obviously not explicitly un-deleting the record when it was saved, just updating the deleted record.
I think I've found a bug, but it might be me doing something wrong.
Have a look at the test case project I created to show what the bug is.
I've created 2 simple models:
Parent
andChild
.Child
has aOneToOneField
relation toParent
.If I create one of each -- child relating to parent -- and then delete the child, then the child is still accessible via
parent.child
.I would expect this to raise a
DoesNotExist
, as the child is (soft)deleted.The text was updated successfully, but these errors were encountered: