[web2py] Re: db date not required

2012-04-21 Thread simon
requires=IS_EMPTY_OR(IS_DATE())) On Saturday, 21 April 2012 23:03:40 UTC+1, BlueShadow wrote: > > When I make a database table with a tate field for some reason it is > always required. but I need a date field which you don't have to fill. > Someone knows how this works. It would be perfect if it

Re: [web2py] Re: db date not required

2012-04-21 Thread Marco Mansilla
another approach might be default=request.now, writable=False, readable=False > requires=IS_EMPTY_OR(IS_DATE())) > > On Saturday, 21 April 2012 23:03:40 UTC+1, BlueShadow wrote: > > > > When I make a database table with a tate field for some reason it > > is always required. but I need a date fi