On Tuesday, November 1, 2011 6:20:57 AM UTC-4, Massimo Di Pierro wrote:
>
> I am not sure I understand the proposal. You can override the format: 
>
> db.mytable._format = '%(name)s' 
> db.mytable._format = lambda record: SPAN(record.first_name) 
>
 
FYI, the above now works in trunk, but not in stable (previously, existing 
keys of Table objects could not be changed -- now they can if they start 
with an underscore).

In stable, the above would have to be preceded by db.mytable.pop('_format').

Anthony

Reply via email to