Changes between Version 1 and Version 2 of Ticket #37278, comment 1


Ignore:
Timestamp:
Aug 14, 2026, 3:22:19 PM (54 minutes ago)
Author:
Simon Charette

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #37278, comment 1

    v1 v2  
    11`QuerySet.totally_ordered` will always have false negatives (e.g. `order_by(Upper("pk"))` is totally ordered for case-insensitive pks) but as long as this ticket is limited to resolving string ''references'' to `.annotation` entries that are `Col` objects then I think this ticket is acceptable as an optimization.
    22
    3 Since the return type of `totally_ordered` is `False` even when it's ''unknown'' I consider this is an optimization and not a bug.
     3Since the return type of `totally_ordered` is `False` even when it's ''unknown'' (but potentially `True`) I consider this is an optimization and not a bug.
Back to Top