I downloaded web2py from trunk on Jan 29th and I found some issues with export.
Here's the use case:
db.define_table('gender',Field('sex'),format='%(sex)s')
db.define_table('friend',Field('forename'),Field('gender_id','reference gender'),format='%(forename)s')
def manage_friends():
grid = SQLFORM.grid(db.friend)
return locals()
The problem is that the sex gender string is retrieved along with the forename string for html and tsv exports, but not for csv, xml and json exports.
Any thoughts ?
Thanks a lot,
- Mirko