Changes between Version 1 and Version 2 of Ticket #37097, comment 3


Ignore:
Timestamp:
May 12, 2026, 3:10:26 PM (24 minutes ago)
Author:
Simon Charette

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #37097, comment 3

    v1 v2  
    11When an `__in` lookup is used [https://github.com/django/django/blob/335c6d0129400eda792f3bec5c71bb28af5e5d37/django/db/models/lookups.py#L508 we explicitly clear the ordering as it's unnecessary] (including the default one).
    22
    3 This problem made me think of your initial approach at making `Query.clear_ordering` [https://github.com/django/django/pull/21247/ somewhat recursive] Jacob. Should we instead consider making the following changes instead?
     3This problem made me think of your initial approach at making `Query.clear_ordering` [https://github.com/django/django/pull/21247/ somewhat recursive] Jacob. Should we consider making the following changes instead?
    44
    55{{{#!diff
Back to Top