Re: [SQLObject] Sorting a list of selected SQLObjects

2010-07-04 Thread Mark
> > subs_sel = list(BBSubs.select(BBSubs.q.user_id==1)) > > for sub in subs_sel: > > sub.topic = BBTopic.get(sub.topic_id) > > sub.post = BBPost.get(sub.topic.last_post_id) > > sub.forum = BBForum.get(sub.topic.forum_id) > >Why do you assign

Re: [SQLObject] Sorting a list of selected SQLObjects

2010-07-01 Thread Oleg Broytman
On Thu, Jul 01, 2010 at 06:47:59PM +, Mark wrote: > I just set up my own forum, and am attempting to sort a user's subscriptions > by the last post in each thread(BBTopic). However the sorted function is > failing saying lambda only takes 1 argument but was given 2. I use this > sorted functio