I am attempting to patch export_to_csv to allow for this, so it could
integrate into appadmin. (have a dropdown div to select/specify options for
the download as csv)

However, I can't seem to find a way to get the "represent" field for the
Reference column?

I am trying to access where you would

db.table.field.represent = lambda value: "%s" % db.othertable[value].name

-Thadeus




On Thu, Nov 5, 2009 at 10:51 AM, Thadeus Burgess <thade...@thadeusb.com>wrote:

> Is there a way when exporting a ROWS object to csv, to include the
> field.represent instead of the field.id for foreign keys?
>
> -Thadeus
>
>
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To post to this group, send email to web2py@googlegroups.com
To unsubscribe from this group, send email to 
web2py+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/web2py?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to