[web2py] Re: py4web chat Saturday April 16

2022-04-18 Thread Jim S
The entire chat from Saturday can be found on our discord link (above) in the General channel. Anyone thinking about migrating applications? What do you see as barriers to moving to py4web? -Jim On Friday, April 15, 2022 at 8:04:27 AM UTC-5 Jim S wrote: > For anyone interested in learning mo

[web2py] starred expression with tuple or array !? differente behaviour!

2022-04-18 Thread António Ramos
Hello i have my code to generate html base on a condition one of the table columns should be created only if var =1 this works but the html removes the _class="aa" in case of var==1, and does not create the TD if var!=1 TD( ..., *(DIV("b",_class="aa") ) if var==1 else tuple()) , etc *Using

[web2py] Re: starred expression with tuple or array !? differente behaviour!

2022-04-18 Thread Jim S
Did you see my reply in the py4web group? -- If I'm understanding the question correctly, I think I'd do the following: cell_list = [] cell_list.append(TD("...first td here...")) cell_list.append(TD("...additional cell...")) cell_list.append(TD("...additional cell..."))