On 9 July 2011 03:47, niknok nikolai...@gmail.com wrote:
**
I have another unique column in my table that I would like to use as index
for record representation. How do I tell web2py to use another index?
Ttrying to use like:
db.mytable.thisfield.represent = lambda id:
On 20 July 2011 14:09, Johann Spies johann.sp...@gmail.com wrote:
I use this:
db.define_table('akb_doccenter_location',
Field('location'))
Apologies, I did not complete the message before sending: the model includes
a Field(uuid), obviously.
Regards
Johann
--
May
I have another unique column in my table that I would like to use as
index for record representation. How do I tell web2py to use another
index?
Ttrying to use like:
db.mytable.thisfield.represent = lambda id:
db.other(myidx).thatfield
3 matches
Mail list logo