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

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

2020-06-04 Thread Nicolas Hiblot
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. > But my case is a little différent ; > I would like to > > *List | Create | Modify and Delete

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

2020-06-04 Thread Val K
db.auth_user is just a table like any other 1) db(~db.auth_user.id.belongs([1,2])).select(...) or db(~db.auth_user.username.belongs(['user0', 'user1'])).select(...) note that `~` inverts `belongs` i.e. it is equal sql -`NOT IN` 2) db.auth_user.insert(username = 'John', ...) - nothing new

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

2020-06-03 Thread Dave S
On Wednesday, June 3, 2020 at 2:25:39 PM UTC-7, Nicolas Hiblot wrote: > > Hello All, > > I really don't know if it's possible ! > But if it is, could someone please help me to do that ?? > > You want to become familiar with the Auth() tools;

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

2020-06-03 Thread Nicolas Hiblot
Hello All, I really don't know if it's possible ! But if it is, could someone please help me to do that ?? 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. > But my case is a little différent ; >