[web2py] Re: AttributeError: type object 'Field' has no attribute 'Method'

2012-12-24 Thread Jeff Kusi
Thank Denes you that fixed the attribute error issue. So in my controller I'm trying to use the fieldMethod to calcluate a sortby parameter on the fly (not sure if proper approach). My table is defined as: db.define_table('Posts', db.Field('date','datetime',default=request.now,wri

[web2py] Re: AttributeError: type object 'Field' has no attribute 'Method'

2012-12-24 Thread DenesL
Hi Jeff, I believe you need web2py 2.3.1 or higher for that. On Monday, December 24, 2012 1:36:25 AM UTC-5, Jeff Kusi wrote: > > I am attempting to use the virtual Methods of the dal but I am running > into this issue. Here's my code > db.define_table('Posts', > db.Field('zipco