[web2py] registration key?

2013-03-26 Thread maneesh2611
What are the registration key and registration identifier fields in auth 
user sign up table?
I'm new to web2py, so I apologize if the question looks silly.

-- 

--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




[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 for the support


-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/web2py/e622dfe5-c639-4dfc-b218-70dc537ea291%40googlegroups.com.


[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 (Report Issues)
--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/web2py/7d710b9d-42d7-4c41-8e54-fd48003cf170%40googlegroups.com.