[web2py] how to rewrite an URL to drop a function name showing in the address bar

2017-08-26 Thread 98ujko9
How can I rewrite the URL (to drop asset): https://192.168.1.25:8000/stock/showcase/asset/2017-Some-fridge?id=79&_signature=c2e7899530c858f1b478cb7ea5f03bb30d4f68e1 to look like: https://192.168.1.25:8000/stock/showcase/2017-Some-fridge?id=79&_signature=c2e7899530c858f1b478cb7ea5f03bb30d4f68e1 the

[web2py] Re: auth_user email field

2017-08-26 Thread Anthony
On Saturday, August 26, 2017 at 8:43:56 AM UTC-4, 黄祥 wrote: > > had you already tried ? > *e.g. not tested* > # after auth.define_tables() > db.auth_user.email.unique = False > or > auth_table.email.unique = False > The issue is the IS_NOT_IN_DB validator, not the "unique" attribute (the latter

[web2py] Re: auth_user email field

2017-08-26 Thread Anthony
On Saturday, August 26, 2017 at 8:24:40 AM UTC-4, Andrea Fae' wrote: > > Hello, is it possible to get email field in auth_user table not unique? I > don't use email form accessing but username. > I don't want to create a custom auth_user table if it's possible. > You can do something like:

[web2py] Passenger WSGI setup with pyenv on Dreamhost

2017-08-26 Thread Yi Liu
Dear all, After hours of research and testing, I would like to share my experience using pyenv + passenger wsgi + web2py on Dreamhost shared hosting as of 08.2017 What I did differently than most guide online is that I only have to edit .htaccess file (in domain root folder) with: Credit:

Re: [web2py] Re: how to create pdf report in web2py???

2017-08-26 Thread Alex
We created a report tool since creating pdf reports in a web application is a common problem and none of the existing solutions were optimal for us. We needed something that is easy to integrate, easy to use (to design the reports) and easy to maintain (e.g. to create new versions of an

[web2py] Re: auth_user email field

2017-08-26 Thread 黄祥
had you already tried ? *e.g. not tested* # after auth.define_tables() db.auth_user.email.unique = False or auth_table.email.unique = False if not work perhaps you can custom auth_table ref: http://web2py.com/books/default/chapter/29/09/access-control#Customizing-Auth best regards, stifan --

[web2py] auth_user email field

2017-08-26 Thread Andrea Fae'
Hello, is it possible to get email field in auth_user table not unique? I don't use email form accessing but username. I don't want to create a custom auth_user table if it's possible. Thanks -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) -