My User model has a relationship to the Address model. I've specified that the relationship should cascade the delete operation. However, when I query and delete a user, I get an error that the address row is still referenced. How do I delete the user and the addresses?
You have the following:
As it says, running delete in this manner will ignore the Python cascade rules that you've set up. You probably wanted to do something like: