start is datetime, I need: start.strftime("%d.%m.%Y") How can I do it (format the datetime) in the requires=...: requires=IS_IN_DB(db, 'lesson.id', '%(start)s')
I'm sorry, maybe this is more python question as web2py question? Thanks in advance. Mirek