mirror of
https://github.com/django/django.git
synced 2025-07-23 13:15:32 +00:00
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.
This commit is contained in:
parent
4df7e8483b
commit
801a84ae32
3 changed files with 10 additions and 0 deletions
|
@ -14,3 +14,6 @@ Bugfixes
|
|||
|
||||
* Fixed crash during :djadmin:`makemigrations` if a migrations module either
|
||||
is missing ``__init__.py`` or is a file (:ticket:`24848`).
|
||||
|
||||
* Fixed ``exists()`` returning incorrect results after annotation with
|
||||
``Count()`` (:ticket:`24835`).
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue