Changes between Version 1 and Version 2 of Ticket #37097, comment 3
- Timestamp:
- May 12, 2026, 3:10:26 PM (24 minutes ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #37097, comment 3
v1 v2 1 1 When 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). 2 2 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 insteadconsider making the following changes instead?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 consider making the following changes instead? 4 4 5 5 {{{#!diff