matches=db(db.matches.kick_off_datetime>datetime.now()).select
(orderby=~db.matches.kick_off_datetime)

Massimo

On Feb 2, 8:59 pm, pedro <pedro...@gmail.com> wrote:
> Ok, I might ping this list a bit to often now... I'll probably use
> this topic for a few errors I might have trouble to sort out.
>
> This like is guiving me a KeyError:
>
>  matches=db().select(db.matches.kick_off_datetime>datetime.now(),
> orderby=~db.matches.kick_off_datetime)
>
> KeyError: "kick_off_datetime>'2009-02-03 03:47:07'"
>
> db.matches.kick_off_datetime does exist, I can't figure this out. What
> am I doing wrong?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"web2py Web Framework" group.
To post to this group, send email to web2py@googlegroups.com
To unsubscribe from this group, send email to 
web2py+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/web2py?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to