Re: [web2py] Re: List | Create | Modify and Delete Users directly from Python controller without using HMI

2020-06-07 Thread AGRogers
Yes, thank you too. I will need that. On Fri, 5 Jun 2020 at 06:50, Nicolas Hiblot wrote: > Thanks Dave and Val > It's perfect !! > Web2py forever > > Le mardi 2 juin 2020 23:57:31 UTC+2, Nicolas Hiblot a écrit : >> >> Hello All, >> >> I have read a lot of cases and uses cases about web2py users.

Re: [web2py] Re: web2py online debugger under python3

2020-06-07 Thread AGRogers
Great. I have had weird problems with Visual Studio Code debugger. It seems to get confused sometimes about which line of code it is running and shows that I am executing a line different to what it is really executing. When i have that problem i switch to PyCharm and debug there. Then i head back

Re: [web2py] Tip - Using multiple web2py templates

2020-06-07 Thread AGRogers
Thanks for sharing this. I might need it soon. On Tue, 2 Jun 2020 at 07:44, Rodrigo Attique wrote: > After a lot of brainstorming I found a way to allow web2py to use multiple > templates. Perhaps for the elderly it is not a novelty, but for the > youngest ... This will be a hand in the wheel. >

[web2py] how do I read localstorage data stored in database

2020-06-07 Thread Maurice Waka
with this code: js(view) $('#timed').change(function(){ arr.push($(this).val()); var arrayJSON = JSON.stringify(arr); localStorage.setItem("tabledata",arrayJSON); controller value =request.vars.json if valued: db.post.insert(message=value) My data is stored as

Re: [web2py] How to clear a list in a view with jquery

2020-06-07 Thread António Ramos
i guess you mean {{for detail in details:}} instead of {{for detail*s* in details:}} anyway the python code is rendered in server before being sent to the view. so your script cant change any of your python code output You could use the ajax function to update a div content or better vuejs or othe