#26225: Coalesce Multiple Calls to order_by with Same Arguments
-------------------------------------+-------------------------------------
Reporter: cancan101 | Owner: nobody
Type: | Status: closed
Cleanup/optimization |
Component: Database layer | Version: 1.9
(models, ORM) |
Severity: Normal | Resolution: wontfix
Keywords: | Triage Stage:
| Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by shaib):
* cc: shaib (added)
Comment:
Replying to [comment:2 mjtamlyn]:
> [Y]ou could add this kind of behaviour to a custom queryset class, but
you would be inspecting private properties of the underlying query object
to get what you want.
Perhaps we should consider making such properties public? It could help
with making querysets more composable and reusable, I think.
--
Ticket URL: <https://code.djangoproject.com/ticket/26225#comment:5>
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 post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/067.ccc77ce783fab4b388d0809f59dfca5d%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.