>
> That's not how it works. When the table is defined, if you have
> Field('location', db.location, ...) with no explicit "represent=...", then
> it will automatically set the "represent" attribute for you based on the
> _format attribute of the db.location table. However, if you set an explicit
> "represent" attribute, you won't get the automatically generated version
> based on _format. In that case, you'd have to do it manually:
>
> db.object.location.represent = lambda location, row: \
> A(db.location._format % db.location(location),
> _href=URL('location', 'update', args=(location.id),
> user_signature=True))
>
Thank you very much! Your lines work as expected!
-Luca.