[Tutor] sorting objects in lists by 2 attr

2007-07-23 Thread Philippe Niquille
Hi I have a hard time sorting an object list. Perhaps this is kind of a noob question, but I would very much appreciate any help! Using django I get a QuerySet of Score objects which are sorted by the actual score, the actual score divided by the max. possible score (so sorting by two db

Re: [Tutor] sorting objects in lists by 2 attr

2007-07-23 Thread Philippe Niquille
Brunson: Philippe Niquille wrote: Hi I have a hard time sorting an object list. Perhaps this is kind of a noob question, but I would very much appreciate any help! Using django I get a QuerySet of Score objects which are sorted by the actual score, the actual score divided by the max