wicked cool
thanks a bunch !
On Friday, May 23, 2014 3:28:43 PM UTC+2, Anthony wrote:
>
> You can use a lambda:
>
> db.define_table('other_table',
> Field('key_id', 'reference key',
> requires=IS_IN_DB(db, 'key.id', lambda r: '%s %s (%s)' % (r.
> person_id.first_name,
>
You can use a lambda:
db.define_table('other_table',
Field('key_id', 'reference key',
requires=IS_IN_DB(db, 'key.id', lambda r: '%s %s (%s)' % (r.
person_id.first_name,
r.
person_id.last_name, r.id
Anthony
On F
2 matches
Mail list logo