[web2py] Using Scheduler without "dict" to define functions

2018-06-25 Thread Joe Barnhart
So I'm expanding my use of the scheduler -- one of the best features of web2py -- and I'm running into a "scaling" problem. I'm going to have perhaps a hundred little functions that the scheduler inserts into the queue. Now, if I define my little functions in the same Model page as the schedul

Re: [web2py] Re: How to handle routing

2018-06-25 Thread Anthony
You could also use routes.py to remove the app name in development. Anthony On Monday, June 25, 2018 at 8:27:29 PM UTC-4, marco mansilla wrote: > > Thanks Dave, I'll try ASAP. > > El lun., 25 de jun. de 2018 21:25, Dave S > escribió: > >> >> >> On Monday, June 25, 2018 at 4:51:31 PM UTC-7, ma

Re: [web2py] Re: How to handle routing

2018-06-25 Thread Marco Mansilla
Thanks Dave, I'll try ASAP. El lun., 25 de jun. de 2018 21:25, Dave S escribió: > > > On Monday, June 25, 2018 at 4:51:31 PM UTC-7, marco mansilla wrote: >> >> Hi everyone, I have written this small simple test [0], which uses >> vue-cli and inside web2py (yes, another test). It works pretty si

[web2py] Re: How to handle routing

2018-06-25 Thread Dave S
On Monday, June 25, 2018 at 4:51:31 PM UTC-7, marco mansilla wrote: > > Hi everyone, I have written this small simple test [0], which uses vue-cli > and inside web2py (yes, another test). It works pretty simple. > > 1- generate a devel project (name can be anything) the web2py app with > vue-cl

[web2py] How to handle routing

2018-06-25 Thread marco mansilla
Hi everyone, I have written this small simple test [0], which uses vue-cli and inside web2py (yes, another test). It works pretty simple. 1- generate a devel project (name can be anything) the web2py app with vue-cli 2- replace /views/layout.html with /deve/index.html 3- the boundle.js from deve

[web2py] Re: list:reference and SQLFORM.grid

2018-06-25 Thread Anthony
The default search widget does not support list:reference fields. You can create a custom search widget via the "search_widget" argument, and also specify a custom search query generator via the "searchable" argument. See the SQLFORM.search_menu and SQLFORM.build_query static methods to see how

[web2py] Re: list:reference and SQLFORM.grid

2018-06-25 Thread Paulo
I have the exact same question and can't find an easy solution in the web :/ Fields of the type list:reference with multiple choices don't show up in the smartgrid search engine. Any easy fix for this? Example in: http://cehum.ilch.uminho.pt/microrrelatos_xaquinnunez (The "Repertorio" field is a

Re: [web2py] Why these functions don't work in web2py

2018-06-25 Thread Junior Phanter
your testing function dont have return. Em dom, 24 de jun de 2018 6:09 PM, Maurice Waka escreveu: > I have bee using python Idle for some time and with the code below, though > not perfected, am able to get an answer(return value as expected). If I > import it to web2py, the return value becomes