Changes between Version 1 and Version 2 of Ticket #19726, comment 5


Ignore:
Timestamp:
Feb 11, 2017, 1:57:58 PM (8 years ago)
Author:
Tim Graham

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #19726, comment 5

    v1 v2  
    11Reopening based on some discussion here: https://groups.google.com/forum/#!topic/django-developers/h5ok_KeXYW4
    22
    3 Basically, `order_by` needs to support `__lookup` syntax via `F()` support for `__lookup` syntax. That ticket is tracked here https://code.djangoproject.com/ticket/24747.
     3Basically, `order_by` needs to support `__lookup` syntax via `F()` support for `__lookup` syntax. That ticket is tracked in #24747.
    44
    55Once that is done, we can add a transform to boolean field that can be used for consistent ordering. A transform can be added now and used directly in the `order_by`:
Back to Top