#30542: Float-valued aggregations and annotations with filters fail with
AttributeError
-------------------------------------+-------------------------------------
     Reporter:  Chuan-Zheng Lee      |                    Owner:  √Čtienne
                                     |  Beaulé
         Type:  Bug                  |                   Status:  assigned
    Component:  Database layer       |                  Version:  2.2
  (models, ORM)                      |
     Severity:  Release blocker      |               Resolution:
     Keywords:  aggregation,         |             Triage Stage:  Accepted
  annotation, filter                 |
    Has patch:  1                    |      Needs documentation:  0
  Needs tests:  0                    |  Patch needs improvement:  0
Easy pickings:  0                    |                    UI/UX:  0
-------------------------------------+-------------------------------------
Changes (by Nick Pope):

 * version:  2.0 => 2.2
 * severity:  Normal => Release blocker


Comment:

 Correct, this is a regression in
 
[https://github.com/django/django/pull/10764/commits/c690afb873cac8035a3cb3be7c597a5ff0e4b261
 c690afb] which affects `Avg()`. `StdDev()` and `Variance()` are affected
 by
 
[https://github.com/django/django/pull/10764/commits/e85afa5943695457c85e9bc1c5dc0d985004e303
 e85afa5] and
 
[https://github.com/django/django/pull/10764/commits/6d4efa8e6a4cc7be4ba957dec71f6f63cd58700d
 6d4efa8] respectively.

-- 
Ticket URL: <https://code.djangoproject.com/ticket/30542#comment:4>
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 django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/063.58e7f7de121e1b9f485d415c10a57ee9%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to