db.actividades.fecha.represent = lambda v, r: r.strftime('%d-%m-%Y') should be
db.actividades.fecha.represent = lambda v, r: v and v.strftime('%d-%m- %Y') or '' else if you row.fecha==v==None, it cannot be represented using v.strftime. On Dec 18, 5:50 pm, Pepe Araya <pepea...@gmail.com> wrote: > sorry, is related with this: > > db.actividades.fecha.represent = lambda *v, r: v.strftime(*'%d-%m-%Y')