Changes between Version 1 and Version 2 of Ticket #19726, comment 5
- Timestamp:
- Feb 11, 2017, 1:57:58 PM (8 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #19726, comment 5
v1 v2 1 1 Reopening based on some discussion here: https://groups.google.com/forum/#!topic/django-developers/h5ok_KeXYW4 2 2 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.3 Basically, `order_by` needs to support `__lookup` syntax via `F()` support for `__lookup` syntax. That ticket is tracked in #24747. 4 4 5 5 Once 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`: