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 (
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
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,
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
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
5 matches
Mail list logo