[web2py] Re: How to capture auth_user login time & logout time

2018-09-26 Thread Anthony
The db.auth_event table stores login, logout, and other events. Anthony On Wednesday, September 26, 2018 at 3:13:25 PM UTC-4, mostwanted wrote: > > Hi guys, i was wondering if there is a way for me to capture user login > time and user logout time > > Regards > > Moatwanted > -- Resources: -

[web2py] Broken/Changed Link on Web2py.com

2018-09-26 Thread Paul Ellis
Hey Contributors, The link behind the 3rd picture on web2py.com goes to paktpub.com and shows a book about 'Internet Marketing with WordPress'. Looks like the site is correct, not sure about the book. Just thought you would like to know. Best Regards -- Resources: - http://web2py.com -

[web2py] Re: lose focus events in form fields

2018-09-26 Thread Dave S
On Wednesday, September 26, 2018 at 10:43:31 AM UTC-7, Donald McClymont wrote: > > Hi Rahul > > You could just do this with Jquery as events that run when any of the 3 > fields are exited however I am not convinced that's really a great approach > - I haven't seen an example of doing this as

Re: [web2py] Re: ADDING MODULE TO CONTROL

2018-09-26 Thread Dave S
On Wednesday, September 26, 2018 at 3:16:43 AM UTC-7, elisha bere wrote: > > i have done this [python installation on Windows] and when i type python > in my cmd it opens python shell > I would expect that. Now you need to download the web2py *source* version, and run it by "python

[web2py] Re: How can i select an item from the database only once?

2018-09-26 Thread Dave S
On Wednesday, September 26, 2018 at 1:07:51 PM UTC-7, Dave S wrote: > > [...] > > (controllers/myhotel.py) > [...] > > define assignroom(): > [...] > >db(db.rooms.id == roomid).update(available=F, client = form > .vars.id) > [...] > > I just noticed the book (at least

[web2py] Re: How can i select an item from the database only once?

2018-09-26 Thread Dave S
On Sunday, September 23, 2018 at 12:33:39 AM UTC-7, mostwanted wrote: > > I am trying to use the first method but i am failing to get the desired > results, how do i check the availability of the selected and wanted room?? > This is my controller code but i figured it not gonna give me results

[web2py] How to capture auth_user login time & logout time

2018-09-26 Thread mostwanted
Hi guys, i was wondering if there is a way for me to capture user login time and user logout time Regards Moatwanted -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list

[web2py] Re: lose focus events in form fields

2018-09-26 Thread Donald McClymont
Hi Rahul You could just do this with Jquery as events that run when any of the 3 fields are exited however I am not convinced that's really a great approach - I haven't seen an example of doing this as part of the actual SQLFORM. Another question would be do you really need to concatenate

[web2py] Re: IMPORTANT - WEB2PY CONSULTING

2018-09-26 Thread Ben Lawrence
Not sure this list is up to date... New Zealand and Canadian companies do not exist... On Wednesday, September 26, 2018 at 9:50:42 AM UTC-7, Ben Lawrence wrote: > > FYI > "Challenging" is not spelled correctly on > http://experts4solutions.com/e4s/static/index.html > > > On Sunday, February 15,

[web2py] Re: IMPORTANT - WEB2PY CONSULTING

2018-09-26 Thread Ben Lawrence
FYI "Challenging" is not spelled correctly on http://experts4solutions.com/e4s/static/index.html On Sunday, February 15, 2015 at 2:21:36 PM UTC-8, Massimo Di Pierro wrote: > > We need to update the list of companies that provide web2py consulting. > This list is obsolete: > >

Re: [web2py] Re: ADDING MODULE TO CONTROL

2018-09-26 Thread elisha bere
i have done this and when i type python in my cmd it opens python shell On Wed, 26 Sep 2018 at 11:30, 黄祥 wrote: > the steps : > 1. download either one of this : > *python* > https://www.python.org/downloads/windows/ > *miniconda* > https://conda.io/miniconda.html > *anaconda* >

Re: [web2py] Re: ADDING MODULE TO CONTROL

2018-09-26 Thread 黄祥
the steps : 1. download either one of this : *python* https://www.python.org/downloads/windows/ *miniconda* https://conda.io/miniconda.html *anaconda* https://www.anaconda.com/download/#windows 2. install, just click next, till finish setup 3. set the path environment system *ref:*

Re: [web2py] Re: ADDING MODULE TO CONTROL

2018-09-26 Thread elisha bere
the steps of installing python 3 are not that clear ... i use windows 7 can some give me step by step instructions on how to install python 3 On Wed, 26 Sep 2018 at 09:06, 黄祥 wrote: > Ok , so how can i change my web2py python version to 3.7 ? >> > > think you can install it via system (ubuntu

Re: [web2py] Re: ADDING MODULE TO CONTROL

2018-09-26 Thread 黄祥
> > Ok , so how can i change my web2py python version to 3.7 ? > think you can install it via system (ubuntu or debian using apt, etc) or using conda *ref:* https://groups.google.com/forum/#!topic/web2py/unamesXfBs4 > and also is it possible to install using pip when using web2py? >

Re: [web2py] Re: ADDING MODULE TO CONTROL

2018-09-26 Thread elisha bere
Ok , so how can i change my web2py python version to 3.7 ? and also is it possible to install using pip when using web2py? On Tue, 25 Sep 2018 at 18:11, Nico de Groot wrote: > I should have added that the module depends on the Python version you are > using. Python 3.7 can use this module but