LocalDataQuerySet order_by implementation
Review Request #7200 — Created April 14, 2015 and submitted — Latest diff uploaded
Queries or calls may want items in a LocalDataQuerySet to be ordered for usage. To help bridge the gap between LocalDataQuerySet and a Django queryset, an
order_by
function has been created to order items in the LocalDataQuerySet by the specified attributes, similar to Django queryset.
Test case for
order_by
.
Diff Revision 4
This is not the most recent revision of the diff. The latest diff is revision 5. See what's changed.
orig
1
2
3
4
5
djblets/db/query.py |
---|
djblets/db/tests/test_local_data_query_set.py |
---|