Thanks, Adam!
On Tuesday, December 12, 2017 at 2:40:11 AM UTC+5:30, Markus Holtermann
wrote:
>
> Hi all,
>
> I'm in the situation where I'd like to join two .order_by() calls on a
> QuerySet without losing the ordering set by the first call.
>
> This was formerly discussed in https://code.django
Mithlesh, that's off-topic for this thread. But Django doesn't have it's
issues on GitHub, it has them on Trac at https://code.djangoproject.com/ .
See https://docs.djangoproject.com/en/dev/internals/contributing/ for a
comprehensive guide on contributing.
On 19 December 2017 at 17:58, Adam Johnso
Fair. I agree it's more flexible, but it does make "the most common case"
of extending the ordering pretty long-winded:
ordering = qs.get_ordering()
ordering.append('new_field')
qs = qs.order_by(*ordering)
On 18 December 2017 at 21:33, Shai Berger wrote:
> On Fri, 15 Dec 2017 21:01:39 +
> A
>
> Can you please tell me where the issues of django are in GitHub ?
>
Thanks
Mithlesh K
--
You received this message because you are subscribed to the Google Groups
"Django developers (Contributions to Django itself)" group.
To unsubscribe from this group and stop receiving emails from it