On Nov 1, 7:54 pm, Anthony <abasta...@gmail.com> wrote:
> 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


That pop() does the trick right now. Thanks gentlemen!

Ray

Reply via email to