Possible Bug: .values("pk") and .values("id") generate different SQL since 5.2

See this topic just below yours called Selecting primary key in 5.2 and respective django-cte PR thanks to @simwr872.