mirror of
https://github.com/django/django.git
synced 2025-01-30 20:19:22 +00:00
2aa2b9f291
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 801a84ae329a24d9adf01b700429fe8f1285b2b8 from master