anyone?
I found that someone else asked about the same issue 5 month ago but there
are no comments about it.
http://groups.google.com/group/web2py/browse_thread/thread/845e6cdef5de4e92/4ace7b81d9e239c3?lnk=gst&q=Virtual+fields&pli=1
Thanks
Santiago
On Sat, Aug 13, 2011 at 7:07 PM, Santiago wr
I don't have a direct solution, but FYI I added this info to a bug
report on a related topic. http://code.google.com/p/web2py/issues/detail?id=374
Thanks for pointing out the problem.
On Aug 14, 8:57 am, Santiago Gilabert
wrote:
> anyone?
>
> I found that someone else asked about the same issue
For the time being you can use this syntax:
db=DAL()
db.define_table('a',Field('b','integer'))
for i in range(10):
db.a.insert(b=i)
def lazy(f):
def g(self,f=f):
import copy
self=copy.copy(self)
return lambda *a,**b: f(self,*a,**b)
return g
class Scale:
@laz
3 matches
Mail list logo