#34564: returning None instead of zero in Count annotation
-------------------------------------+-------------------------------------
     Reporter:  Amin Aminian         |                    Owner:  nobody
         Type:  Bug                  |                   Status:  new
    Component:  Database layer       |                  Version:  4.2
  (models, ORM)                      |
     Severity:  Normal               |               Resolution:
     Keywords:  count, orm,          |             Triage Stage:  Accepted
  annotate                           |
    Has patch:  0                    |      Needs documentation:  0
  Needs tests:  0                    |  Patch needs improvement:  0
Easy pickings:  0                    |                    UI/UX:  0
-------------------------------------+-------------------------------------
Changes (by Mariusz Felisiak):

 * status:  closed => new
 * resolution:  invalid =>
 * stage:  Unreviewed => Accepted


Comment:

 OK, let's accept this.

 Replying to [comment:2 Simon Charette]:
 > I think this should be considered a release blocker as this is an
 unintended regression that will affect quite a few users given how common
 count annotations are over multiple valued relationships.

 This is a regression in Django 4.0, so it doesn't qualify for a backport
 anymore.

-- 
Ticket URL: <https://code.djangoproject.com/ticket/34564#comment:3>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/01070188199b5b15-c4dacfc5-d229-4fd9-8526-cc7513dbe9e5-000000%40eu-central-1.amazonses.com.

Reply via email to