[web2py] Re: Adding custom attributes to fields and tables

2019-07-30 Thread 'jim kaubisch' via web2py-users
Similar question, but maybe simpler? I have a table name which, for various reasons, isn't very human reader friendly (crowner). I'd like to add a table attribute (e.g. print_name = 'Copyright Owners') to be used for table display instead of the table name itself Does that mean db.table._extra

[web2py] Re: Adding custom attributes to fields and tables

2018-04-22 Thread Anthony
First, what happens when you try: db.person.salutation.mycustomwidget = 'select2' Second, what are you really trying to do? How do you intend to use that custom attribute exactly? Anthony On Sunday, April 22, 2018 at 6:15:03 AM UTC-4, xelomac wrote: > > I want to add a custom attribute so tha