[web2py] Registration key

2019-11-22 Thread Val K
Because null (none) has special meaning in sql and can't be compared, so you should use explicit comparison with null (none) -- 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] Registration key

2019-11-22 Thread Paco Bernal
Hi all Today my mind is a little heavy but can't wait till tomorrow Why db((db.auth_user.registration_key=='')|(db.auth_user.registration_key==None)).count() > gives me 2 and db(db.auth_user.registration_key!='blocked').count() > gives me 1 when I use only 'blocked' to block users? Thanks

[web2py] Re: how to specify python3 for wsgihandler

2019-11-22 Thread David Zejda
Hi again. Well, I found out that one Apache instance can't handle applications with different python interpreters via mod_wsgi. So, I decided to set up a virtual environment for a web2py instance running python3 applications with its own Apache and mod_wsgi. Since it is virtual environment,

[web2py] Re: Web2py with python 3.8.0

2019-11-22 Thread Woody
I updated to Python 3.8 on Arch Linux today and I had the same problem with 'escape'. I patched the languages.py file and got web2py to start, but then hit another error: Traceback (most recent call last): File "/home/www/web2py/gluon/restricted.py", line 219, in restricted exec(ccode, env

[web2py] New Telegrm Group - Russian - and others

2019-11-22 Thread Ari Lion BR Sp
Hi, A new Russian group has been opened at Telegram. Please join. https://t.me/web2py_rus Please see also the existent: https://t.me/web2py_world => General / English https://t.me/web2pybrasil => Portuguese Cheers -- Resources: - http://web2py.com - http://web2py.com/book (Documentatio