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


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

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #37278, comment 1

    initial v1  
    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.
     2
     3Since the return type of `totally_ordered` is `False` even when it's ''unknown'' I consider this is an optimization and not a bug.
Back to Top