Re: Sort by output of arbitrary method

2009-08-11 Thread Javier Guerra
On Tue, Aug 11, 2009 at 2:47 AM, Harish wrote: > s there any other way of doing this? read the whole result set and use Python sorting. -- Javier --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" grou

Re: Sort by output of arbitrary method

2009-08-11 Thread Harish
On Aug 11, 12:35 pm, Malcolm Tredinnick wrote: > On Tue, 2009-08-11 at 00:29 -0700, Harish wrote: > > Hi Friends, > > > According to the django tutorial: > > "You can click on the column headers to sort by those values -- except > > in the case of the was_published_today header, because sorti

Re: Sort by output of arbitrary method

2009-08-11 Thread Malcolm Tredinnick
On Tue, 2009-08-11 at 00:29 -0700, Harish wrote: > Hi Friends, > > According to the django tutorial: > "You can click on the column headers to sort by those values -- except > in the case of the was_published_today header, because sorting by the > output of an arbitrary method is not supported. "

Sort by output of arbitrary method

2009-08-11 Thread Harish
Hi Friends, According to the django tutorial: "You can click on the column headers to sort by those values -- except in the case of the was_published_today header, because sorting by the output of an arbitrary method is not supported. " Is there any work around for this? Regards Harish Bhat M

Sort by output of arbitrary method

2007-03-13 Thread Mark Engelberg
According to the tutorial: "You can click on the column headers to sort by those values -- except in the case of the was_published_today header, because sorting by the output of an arbitrary method is not supported. " Well, I understand that it would not be as efficient to sort on an attribute th