with this model (very simplified)

db.define_table('table1',
                Field('first_field'
                ),
                format='%(first_field)s'
                )


db.define_table('table2',
                Field('field_one'
                ),
                Field('field_two','reference table1'
                )



db.table2.field_one.represent = lambda value, row: CAT (row.field_two)

returns

*table1 id *in web2py 2.14.6

and

*table1 first_field* (i.e. table1 format) in web2py 2.17.2

Is this intentional?

-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to