[web2py] profanity filter

2016-08-31 Thread Alex Glaros
anyone have a working profanity filter I could copy? thanks Alex Glaros -- 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 becaus

[web2py] Re: Locating Table Definitions in a Module

2016-08-31 Thread Anthony
The benefit would probably be minimal, particularly if you are compiling the application. Greater benefit comes from only defining tables when you actually need them, but this can be achieved via other means (e.g., conditional models, lazy tables). That doesn't mean it's a bad idea to put some

[web2py] 502 Error when accessing Google Data API

2016-08-31 Thread Spokes
I have a website with a form in which a user enters an IP address. When the form is "submitted" (actually, an AJAX call is made, which updates the form), the part of the form that's updated via the AJAX call shows a "502 Bad Gateway nginx 1.8" error - this happens when attempting to get youtube

Re: [web2py] Best way to pre-populate a database on start-up

2016-08-31 Thread Niphlod
same deal, "different" organization. With an external script you can't call that function if not from an external process. Having it in a separated controller incurs in None performance-penalties (having it in a standard controller has None to a handful of ms penalty when that controller is hi

[web2py] Re: Locating Table Definitions in a Module

2016-08-31 Thread Niphlod
versus having them in the model ? imho it's not worth the effort. migrate=False, lazy_tables and conditional models SHOULD get you very far without this kind of complications. On Wednesday, August 31, 2016 at 8:54:35 PM UTC+2, Scott Hunter wrote: > > Is there any benefit to putting the code to d

[web2py] Locating Table Definitions in a Module

2016-08-31 Thread Scott Hunter
Is there any benefit to putting the code to define the database tables in a function that has been defined in a module, but gets called from a model, performance-wise? - Scott Hunter -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (S

Re: [web2py] Best way to pre-populate a database on start-up

2016-08-31 Thread Dave S
On Wednesday, August 31, 2016 at 5:33:15 AM UTC-7, Manuele wrote: > > Il 30/08/16 21:40, Niphlod ha scritto: > > +1 for Dave . > > > > with isempty() in a model you're executing a query for each and every > > request for absolutely NO REASON. > > I usually create a script directory and put t

Re: [web2py] Best way to pre-populate a database on start-up

2016-08-31 Thread Manuele Pesenti
Il 30/08/16 21:40, Niphlod ha scritto: > +1 for Dave . > > with isempty() in a model you're executing a query for each and every > request for absolutely NO REASON. I usually create a script directory and put there scripts with commands to be performed only once, such in the case of pre-populating

[web2py] How to add pagepeeker thumbnail link to poweredby

2016-08-31 Thread Karl Florian
I would like to add the following link to my poweredby entry. How can this be done? -- 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 mes

[web2py] How can i change my in poweredby submitted NAME and description

2016-08-31 Thread Karl Florian
I would like to access my submitted poweredby data?! Best regards Karl -- 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