[web2py] Re: Some row questions

2017-06-23 Thread villas
Hi Dave, Open your app on the commandline: python web2py.py -S yourapp -M Experiment a little... 1. for i, row in enumerate(rows) 2. rows[0].test = 'whatever' On Friday, 23 June 2017 17:29:00 UTC+1, Dave S wrote: > > I have a fairly straight forward table, and a fairly easy db query: > db

[web2py] Re: Some row questions

2017-06-23 Thread Dave S
On Friday, June 23, 2017 at 1:24:30 PM UTC-7, villas wrote: > > Hi Dave, > > Open your app on the commandline: > > python web2py.py -S yourapp -M > > Experiment a little... > > 1. for i, row in enumerate(rows) > 2. rows[0].test = 'whatever' > I've kinda already done that. No tee-shirt appeare

[web2py] Re: Some row questions

2017-06-24 Thread villas
> I've kinda already done that. No tee-shirt appeared. > > Funny that, I spent time making suggestions and no thanks appeared. I guess we don't always get what we'd like. So why doesn't enumerate() provide an index? Or, maybe that's not the kind of index you wanted? If you add something