#34005: In Django 3.2 the ORM looses Meta.ordering default order when .annotate
is
used
-------------------------------------+-------------------------------------
Reporter: Pieter Zieschang | Owner: nobody
Type: Bug | Status: closed
Component: Database layer | Version: 3.2
(models, ORM) |
Severity: Normal | Resolution: invalid
Keywords: orm Meta | Triage Stage:
Options.ordering annotate | Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by Tim Graham):
* status: new => closed
* resolution: => invalid
Comment:
Model `Meta.ordering` affecting GROUP BY queries was
[https://docs.djangoproject.com/en/dev/releases/2.2/#model-meta-ordering-
will-no-longer-affect-group-by-queries deprecated in Django 2.2] and
removed in Django 3.1.
--
Ticket URL: <https://code.djangoproject.com/ticket/34005#comment:2>
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/0107018329a94cdc-790604b6-a677-440d-a7ed-432ba348abcf-000000%40eu-central-1.amazonses.com.