Re: [Django] #34012: QuerySet.order_by() silently skips non-existing fields on related fields. (was: order_by silently skips non-existing fields of existing related fields)

6 views
Skip to first unread message

Django

unread,
Sep 16, 2022, 2:47:49 AM9/16/22
to django-...@googlegroups.com
#34012: QuerySet.order_by() silently skips non-existing fields on related fields.
-------------------------------------+-------------------------------------
Reporter: Klaas van Schelven | Owner: nobody
Type: | Status: new
Cleanup/optimization |
Component: Database layer | Version: 4.0
(models, ORM) |
Severity: Normal | Resolution:
Keywords: | Triage Stage: Accepted
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by Mariusz Felisiak):

* type: Uncategorized => Cleanup/optimization
* component: Uncategorized => Database layer (models, ORM)
* stage: Unreviewed => Accepted


Comment:

Tenatively accepted, I'm not sure it's worth the additional complexity
(similar to the #29408, see 440505cb2cadbe1a5b9fba246bcde6c04f51d07e).

--
Ticket URL: <https://code.djangoproject.com/ticket/34012#comment:1>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

Reply all
Reply to author
Forward
0 new messages