Re: [web2py] Re: Using lambda in Field constructor for default

2019-03-16 Thread Eliezer (Vlad) Tseytkin
Got it, thank you! On Sat, Mar 16, 2019, 11:29 AM João Matos wrote: > Check this > > http://web2py.com/books/default/chapter/29/06/the-database-abstraction-layer?search=computed+field#Computed-fields > > > sexta-feira, 15 de Março de 2019 às 20:58:39 UTC, Vlad escreveu: >> >> I am missing someth

[web2py] Re: Using lambda in Field constructor for default

2019-03-16 Thread Anthony
Also, when "default" is a function, it does not take any arguments. Anthony On Saturday, March 16, 2019 at 11:29:50 AM UTC-4, João Matos wrote: > > Check this > > http://web2py.com/books/default/chapter/29/06/the-database-abstraction-layer?search=computed+field#Computed-fields > > > sexta-feira,

[web2py] Re: Using lambda in Field constructor for default

2019-03-16 Thread João Matos
Check this http://web2py.com/books/default/chapter/29/06/the-database-abstraction-layer?search=computed+field#Computed-fields sexta-feira, 15 de Março de 2019 às 20:58:39 UTC, Vlad escreveu: > > I am missing something very simple here, but can't unstuck myself: > > This is what I want to have in