Opened 18 years ago
Closed 18 years ago
#3476 closed (duplicate)
QuerySet UserProfile.objects.all().order_by('user.last_name')
Description ¶
This expression isn't supported in fact, I can't seem to find a way to order by fields through a ForeignKey field. The documentation hints at a way to do it, but is not apparent how to write the expression.
Note:
See TracTickets
for help on using tickets.
duplicate of #2076