[web2py] verification required and approval conditioned

2020-04-03 Thread Manuele Pesenti
Hi *! Would it be possible to setup an application in order that the verification is always required for registration and the approval would be required only if an extra auth_user field is leaved blank during registration? Thanks a lot     Manuele -- Resources: - http://web2py.com -

[web2py] How can I watch time of query?

2020-04-03 Thread Константин Комков
Hello! I thought that db._lastsql return tuple like ('text of query', time of query in ms), but second element it's not time. I have hard query with time 5 sec, but in tuple I see 0.043004512786865234. -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) -