Re: [Django] #36751: Aggregation with an empty filter over a queryset with annotations crashes since Django 5.2.2 (was: Django Admin facets broken in 6.0)

5 views
Skip to first unread message

Django

unread,
Nov 23, 2025, 11:03:47 AM11/23/25
to django-...@googlegroups.com
#36751: Aggregation with an empty filter over a queryset with annotations crashes
since Django 5.2.2
-------------------------------------+-------------------------------------
Reporter: Rafael Urben | Owner: Simon
| Charette
Type: Bug | Status: assigned
Component: Database layer | Version: 5.2
(models, ORM) |
Severity: Release blocker | Resolution:
Keywords: | Triage Stage: Accepted
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by Simon Charette):

* cc: Varun Kasyap Pentamaraju (removed)
* severity: Normal => Release blocker
* summary: Django Admin facets broken in 6.0 =>
Aggregation with an empty filter over a queryset with annotations
crashes since Django 5.2.2
* version: 6.0 => 5.2

--
Ticket URL: <https://code.djangoproject.com/ticket/36751#comment:6>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
Reply all
Reply to author
Forward
0 new messages