[web2py] Limit string length in DAL

2016-08-20 Thread billyhun01
How we limit string length in DAL? It seems length = 64 doesn't work. -- 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 y

[web2py] Re: Authentication without password or blank password

2016-08-20 Thread 黄祥
perhaps you can customize auth table and set it password length validator to 0, required and notnull as false ref: http://web2py.com/books/default/chapter/29/09/access-control#Customizing-Auth http://web2py.com/books/default/chapter/29/07/forms-and-validators best regards, stifan -- Resources:

[web2py] Re: Strange error with cookies (to the same domain) accesed through the same router

2016-08-20 Thread Massimo Di Pierro
Thanks for letting us know. Keep us posted if you find the problem since it may affect others. On Saturday, 20 August 2016 06:53:26 UTC-5, Lisandro wrote: > > Hi there, > > I'm back just to inform that we haven't found the cause of the problem > yet, but we've been doing a lot of tests (with Li

[web2py] Re: New to web2py. Template use cases

2016-08-20 Thread Massimo Di Pierro
If you use stable web2py there is no _compact.py. If you take experimental web2py from trunk we use _compat to make sure it works on python 2 and python 3 (sill under testing). On Friday, 19 August 2016 10:23:53 UTC-5, Marlysson Silva wrote: > > Massimo I saw within template.py and he have a imp

[web2py] Authentication without password or blank password

2016-08-20 Thread Vin
Hi all, I have an application to which I would like to grant access via user name only. No password. But whenever I try to create a user with a blank password, I get the error "password too short", and the form will not let me continue. Is there a way to enable minimal authentication, without

[web2py] i need the information fetch information from an online database, how can i do it with web2py?

2016-08-20 Thread karthik naidu
i'm planning to do a gps tracker and i need to get information from an online database , i want to know the method to do it using web2py -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/i

[web2py] What's wrong with this snippet as it's not giving the correct result?

2016-08-20 Thread Anthony
& instead of "and". Anthony -- 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 "w

[web2py] LDAP authentication and user creation

2016-08-20 Thread Marvix
Hello to all. I tried LDAP authentication and all work flawless. As an user logs in, the relative user entry is created in the web2py user table. That's great. But sometimes it would be usefull to have the user in the table before his first login. So, would be great for some user, says an a

[web2py] What's wrong with this snippet as it's not giving the correct result?

2016-08-20 Thread Steve Joe
db((db.user_interests.user_id == auth.user_id) and (db.user_interests.interest == nosubscription.category)).select() -- 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 I

[web2py] response.flash is not displayed

2016-08-20 Thread Gael Princivalle
Hello. I would like to have more info about how web2py add the inline style 'display: block;' to . With my own bootstrap 3 layout on a 2_12_13 web2py install response.flash is displayed. With quite the same layout on a 2_14_16 web2py install it's not displayed. With the standard layout it's di

[web2py] Re: How to ensure that the upload field only accepts .jpg or .png files?

2016-08-20 Thread 'Annet' via web2py-users
Use the IS_IMAGE() validator http://web2py.com/books/default/chapter/29/07/forms-and-validators#IS_IMAGE requires = IS_IMAGE(extensions=('jpg', 'png')) Kind regards, Annet -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source

[web2py] Re: Strange error with cookies (to the same domain) accesed through the same router

2016-08-20 Thread Lisandro
Hi there, I'm back just to inform that we haven't found the cause of the problem yet, but we've been doing a lot of tests (with Linode support guys, and with a couple of nginx professionals hired in upwork). The problem still remains, but we have concluded that it's not related to web2py or se

[web2py] How to ensure that the upload field only accepts .jpg or .png files?

2016-08-20 Thread Steve Joe
What is the exact snippet for the same? -- 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