On Monday 05 June 2006 20:51, HBTaylor wrote:

> Since the method doesn't correspond to a column in a table, the
> order_by() method doesn't work. I want to show all teams by
> descending winning percentage in a "standings" view, but I'm not sure
> what way to best accomplish this. I have ideas in my head about
> iterating over the Team.objects.all() and creating some kind of dict
> with that information in it, but that seems a little
> counter-intuitive.
>
> Has anyone solved this in the past

http://groups.google.com/group/django-users/search?group=django-users&q=ordering+model+methods&qt_g=1&searchnow=Search+this+group

Luke

-- 
The probability of someone watching you is proportional to the 
stupidity of your action.

Luke Plant || L.Plant.98 (at) cantab.net || http://lukeplant.me.uk/

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

Reply via email to