#30542: Float-valued aggregations and annotations with filters fail with
AttributeError
-------------------------------------+-------------------------------------
     Reporter:  Chuan-Zheng Lee      |                    Owner:  nobody
         Type:  Bug                  |                   Status:  new
    Component:  Database layer       |                  Version:  2.2
  (models, ORM)                      |
     Severity:  Normal               |               Resolution:
     Keywords:  aggregation,         |             Triage Stage:
  annotation, filter                 |  Unreviewed
    Has patch:  0                    |      Needs documentation:  0
  Needs tests:  0                    |  Patch needs improvement:  0
Easy pickings:  0                    |                    UI/UX:  0
-------------------------------------+-------------------------------------

Comment (by Chuan-Zheng Lee):

 I couldn't tell you for sure because I haven't actually tried reproducing
 it on this commit or its parent, but if I had to take a guess as to which
 commit introduced the issue, I'd try
 a0b19a0f5b1731cf575546175034da53f5af5367, which introduced
 `OutputFieldMixin`, a precursor to `NumericOutputFieldMixin` with similar
 logic. I'll say something if I manage to give this a go.

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

Reply via email to