Hay there.

Is it possible to sort by the number of related models another single
model has?

I'm trying to make a quote database, where there are Quotes with many
Votes related to them. I want to be able to get all of the Quote
objects, and sort them by the number of Votes they have. I'm unsure
how I'd do it with Django or if I'd need to do the sorting myself.

I probably havn't explained it very well, so sorry if there is any
sort of confusion.

Thanks!

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to