#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.0
  (models, ORM)                      |
     Severity:  Normal               |               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
-------------------------------------+-------------------------------------

Comment (by Chuan-Zheng Lee):

 Contrary to my earlier guess, the first commit with the issue is
 c690afb873cac8035a3cb3be7c597a5ff0e4b261, which modifies `Avg` to use the
 new logic. Its parent, 3d5e0f8394688d40036e27cfcfac295e6fe622609, works
 fine, because while it modified the mixin to its current form, it didn't
 touch `Avg`.

-- 
Ticket URL: <https://code.djangoproject.com/ticket/30542#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 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.784e28e95f7c677e413cd18f579202fa%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to