I believe that delete() only deletes the reference to the object in the
database, but does not affect the calling object in memory.
I think the reason for this is so that you can perform a delete operation,
and if successful, gather information about the deleted object to display
a confirmation m
My question is very similar to one by Seth Gordon in 2011. But it's been 4
years since then, so I'll try again.
I have models A and B, and B has a O2O field pointing to A. When I do
`a.b.delete()`, then I'm surprised to find that `a.b` is still a valid
object. How can I modify `a` so that it retur
2 matches
Mail list logo