Skip to content
Commit 2aa2b9f2 authored by Paweł Marczewski's avatar Paweł Marczewski Committed by Tim Graham
Browse files

[1.8.x] Fixed #24835 -- Fixed QuerySet.exists() after an annotation with Count()

QuerySet.exists() incorrectly handled query.group_by = True
case (grouping by all select fields), causing GROUP BY
expressions to be wiped along with select fields.

Backport of 801a84ae from master
parent 1ac4c7d4
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment