504
504
# Despite having some extra aliases in the query, we can still omit them in a
507
[{'id': 1, 'rank': 2}, {'id': 2, 'rank': 1}, {'id': 3, 'rank': 3}]
508
[[('id', 1), ('rank', 2)], [('id', 2), ('rank', 1)], [('id', 3), ('rank', 3)]]
510
511
>>> qs = Item.objects.select_related().order_by('note__note', 'name')