mirror of
https://github.com/django/django.git
synced 2025-11-07 07:15:35 +00:00
Regression in65ad4ade74which allowed for annotations to be SELECT'ed before model field references through values()/values_list() and broke assumptions the select_for_update(of) table infererence logic had about model fields always being first. Refs #28900. Thanks OutOfFocus4 for the report and Sarah for the test. Backport of71a19a0e47from main