I don't think your issue has anything to do with proxy models.
You'll get the exact same error if your use Parent.objects instead of
Child.objects as both will generate the same SQL:
SELECT *
FROM parent
LEFT JOIN foreign ON parent.foreign_id = foreign.id
FOR UPDATE OF parent
In this case "pare
Hello.
I just wanted to know, whether I run into a bug, and whether I should
report it.
Normally select_for_update and select_related try to lock all affected rows
in all tables. One can specify "of" for select_for_update to limit tables
to lock (to prevent locking nullable relations).
Recentl
2 matches
Mail list logo