#32117: Aggregation doesnt work with Models, ordered by Meta subclass
-------------------------------------+-------------------------------------
     Reporter:  eloktev              |                    Owner:  Dede Dian
         Type:  Uncategorized        |                   Status:  closed
    Component:  Uncategorized        |                  Version:  3.1
     Severity:  Normal               |               Resolution:  invalid
     Keywords:  aggregation,         |             Triage Stage:
  database, psycopg2                 |  Unreviewed
    Has patch:  0                    |      Needs documentation:  0
  Needs tests:  0                    |  Patch needs improvement:  0
Easy pickings:  0                    |                    UI/UX:  0
-------------------------------------+-------------------------------------
Changes (by Simon Charette):

 * status:  assigned => closed
 * resolution:   => invalid


Comment:

 This is documented as a caveat of performing aggregation against a model
 with a defined `Meta.ordering`

 https://docs.djangoproject.com/en/3.1/topics/db/aggregation/#interaction-
 with-default-ordering-or-order-by

 Please TicketClosingReasons/UseSupportChannels before filling a ticket in
 the future.

-- 
Ticket URL: <https://code.djangoproject.com/ticket/32117#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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/065.ab38c3f16741285fe30b5a1325b0443d%40djangoproject.com.

Reply via email to