[web2py] Re: Using SOLR as the web2py backend

2017-09-27 Thread 黄祥
test it but not work, steps: 1 download, extract and run solr-7.0.0 2 install solrpy easy_install solrpy 3 run and create new web2py app 2.14.6 *models/db.py* import solr s = solr.SolrConnection('http://localhost:8983/solr') *controllers/default.py* def test(): form =

[web2py] Re: Future releases and support

2017-09-27 Thread greenpoise
To me and this is my opinion only, I have followed web2py for as long as I can remember. The difference between web2py and flask or even web2py and ruby (just to name another framework/language) is that web2py examples are outdated and very limited. I am able to find more updated tutorials on

[web2py] Re: most simple way to change the "page=" parameter in grids

2017-09-27 Thread Anthony
You're on the right track -- you would have to use the pattern-based rewrite system, as the "page" identifier is hard-coded in the grid code. On Wednesday, September 27, 2017 at 3:29:21 AM UTC-4, Thomas Wimmer wrote: > > *push* > > Nobody? No Idea at all? > -- Resources: - http://web2py.com -

[web2py] Re: directory structure of uploaded file

2017-09-27 Thread Anthony
On Wednesday, September 27, 2017 at 5:04:27 AM UTC-4, Rudy wrote: > > Dave / Anthony, > > Thanks for your input and confirmation. I will look into the code to see > how i can use the uuid to separate files for multi-tenant purpose. > If you're going to be accessing the uploaded files based on

Re: [web2py] JWT with ldap_auth and auth methods

2017-09-27 Thread Francisco García
Hi Dave, I agree with you. Changes in gluon/*.py may be complex. If I implement a solution useful for others, I'll do a pull request. Regards. El martes, 26 de septiembre de 2017, 21:23:42 (UTC+2), Dave S escribió: > > > > On Tuesday, September 26, 2017 at 9:01:44 AM UTC-7, Francisco García

[web2py] Re: couchdb anybody?

2017-09-27 Thread 黄祥
finally got it work, couchdb 2.1.0 (mac), extract and run apache couchdb.app, pip install couchdb (for python driver) and then running web2py 2.14.6 source (web2py recent version not work error traceback posted above) *error 1:* Traceback (most recent call last): File

[web2py] Re: SQLFORM.grid and custom forms behavior

2017-09-27 Thread Tiago Barrionuevo
I used the onvalidation() callback and it works like a charm. And as a bonus I can invalidate the submit if my custom processing fails! It's about a little more than a month i'm using Web2py and I still have to get its "way of thinking" to implement some features. Thanks Dave S! Em terça-feira,

[web2py] Re: directory structure of uploaded file

2017-09-27 Thread Rudy
Dave / Anthony, Thanks for your input and confirmation. I will look into the code to see how i can use the uuid to separate files for multi-tenant purpose. On Tuesday, September 26, 2017 at 5:53:30 PM UTC+8, Dave S wrote: > > > > On Monday, September 25, 2017 at 11:03:59 PM UTC-7, Rudy wrote:

[web2py] Re: most simple way to change the "page=" parameter in grids

2017-09-27 Thread Thomas Wimmer
*push* Nobody? No Idea at all? -- 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