Bump! Richard
On Thu, Dec 15, 2011 at 11:56 AM, Richard <[email protected]>wrote: > Hello, > > Can I make a virtual field class generic and how? > > Here my virtual field class : > > from utils import md5_hash > > class v_f_s(object): > def hmd5(self): > return md5_hash('|'.join(str(self.test1[k]) for k in > db.test1.fields())) > > I would like to pass "test1" as a argument or getting it form self, > but since self seems to be a row I don't think I can derive tablename > from it?? > > Thanks > > Richard >

