[web2py] Re: Struggling with multi user

2015-01-05 Thread Gary Cowell
Once again, thank you. I'll get there in the end. On Sunday, 4 January 2015 02:37:09 UTC, Massimo Di Pierro wrote: > > I would do: > > db.define_table( > 'shoe', > Field('model',db.model), > Field('purchased','date'), > Field('price','integer'), > auth.signature, # include crea

[web2py] Re: Struggling with multi user

2015-01-03 Thread Massimo Di Pierro
I would do: db.define_table( 'shoe', Field('model',db.model), Field('purchased','date'), Field('price','integer'), auth.signature, # include created_by and created_on format=lambda r: '%s %s %s' % (r.model.manufacturer.name ,r.model.model,r.purchased)) along with a common