[web2py] Comment for auth.auth_user.email

2016-09-11 Thread Gael Princivalle
Hello. I would like to add a to auth.auth_user.email a comment like comment=('Only for login and service communication, not displayed to other users'). Is it possible? Thanks. -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source

[web2py] Re: How to code efficiently for multiple database engines with Exceptions

2016-09-11 Thread Joe Barnhart
It's more complicated than that. There are obsolete versions of some libraries, such as libel, which need to be replaced. However, those libs are not easily replaced because you can't simply "ln" an entry into the directory where it needs to go. There are workarounds, and potential problems

[web2py] Can't get response.stream() to work

2016-09-11 Thread Joe Barnhart
This MUST be something I'm doing wrong. I have used this very code -- even this method -- countless times but now it fails to stream the file. The object being streamed is a StringIO buffer of some file that I create on the fly. I'm trying to download it with a provided file name and type.

[web2py] Re: Comment for auth.auth_user.email

2016-09-11 Thread 黄祥
pls try : auth.define_tables(username = True, signature = True) custom_auth_table = db[auth.settings.table_user_name] custom_auth_table.email.comment = T('Only for login and service communication, not displayed to other users') auth.settings.table_user = custom_auth_table best regards, stifan

[web2py] Re: How to code efficiently for multiple database engines with Exceptions

2016-09-11 Thread Joe Barnhart
Of course that was LIBSSL before f-ing auto spell got ahold of it... On Sunday, September 11, 2016 at 2:40:02 AM UTC-7, Joe Barnhart wrote: > > It's more complicated than that. There are obsolete versions of some > libraries, such as libel, which need to be replaced. However, those libs > are

[web2py] change the default applicaton of web2py

2016-09-11 Thread Alessio Varalta
Hi, I call my application with base_url+ name_application. With base_url web2py call welcome application, I want to change and with base_url i want to call my name_application. Where is the code to change? -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://gith

[web2py] why request.vars are added an additional key “records” with null value when I used the sqlform.grid?

2016-09-11 Thread Yibing Liu
My web2py version is 2.14.6. I define a form in myview.html ` ` In my default controler function 'index' I want to deal with the request.vars passed from html.It works fine. Then I add a form=SQLFORM.grid(query) to my function, I find that the request