[web2py] How to run a specific application instead of welcome in Pycharm Pro

2020-01-22 Thread Davidiam
I am using Pycharm Professional for web2py development. When I create a project with an application "XYZ" and I click run, web2py is started and goes directly to the "welcome" app, and not the app "XYZ". I can navigate to the application "XYZ", but I would like it to go directly to this app

Re: [web2py] Re: Web2py or py4web for a brand new project

2020-01-22 Thread Carlos Costa
Thanks for sharing you experience with py4web, Jim. Em qua., 22 de jan. de 2020 às 20:04, Kevin Keller escreveu: > The datatables integration for web2py would be super useful. I'm sure we > could port it over to py4web easily. > > I just feel like with all the stuff web2py gave us to get

Re: [web2py] Re: Web2py or py4web for a brand new project

2020-01-22 Thread Kevin Keller
The datatables integration for web2py would be super useful. I'm sure we could port it over to py4web easily. I just feel like with all the stuff web2py gave us to get something quickly going missing, it'd just another api framework and there are fastapi and apistar as well falcon out.. I think

Re: [web2py] Re: Web2py or py4web for a brand new project

2020-01-22 Thread Jim S
Yes, I will post my main utils.py when I have it working better. I still have to clean up a couple pieces. It would be up to Massimo if he wanted to add it. But in response to one of my earlier questions I was told Massimo kept a utility like this out of py4web so people might use better

Re: [web2py] Re: Web2py or py4web for a brand new project

2020-01-22 Thread Kevin Keller
Jim, Could your helpers be considered to be added to thr py4web code base? If you say you have a sqlform.grid equivalent or something in that direction? I think there was mtable that should take the spot, but haven't seen any examples yet or at least none thst would replace a sqlform or

Re: [web2py] Re: Web2py or py4web for a brand new project

2020-01-22 Thread Jim S
For me, there is no porting, it is re-writing. While a lot of the capabilities are there in py4web not all are part of py4web. Due to the nature of how things work, a lot of the 'global' structures in web2py have to be handled differently in py4web. SQLFORM.grid is gone. FORM replaces

Re: [web2py] Re: Web2py or py4web for a brand new project

2020-01-22 Thread Carlos Costa
Hey Massimo, thanks for the great info. How about porting apps from web2py to py4web? What steps would you recommend? Em qua., 22 de jan. de 2020 às 08:21, AGRogers escreveu: > OK, thanks. Re reporting errors, I suspect most errors will be due to my > ignorance. But thanks for the

Re: [web2py] Looking for web2py developer for Italian small company

2020-01-22 Thread Geordanis Baño Vega
i have working with web2py for 5 years, now i am also working with node + vuejs. I strongly recommend vuejs instead of jquery. py4web is an evolution of web2py and could be a good idea use it. Regards El mié., 22 ene. 2020 a las 0:09, Hugo Alberto Rivera Diaz (< hugorivera.cool.pla...@gmail.com>)

Re: [web2py] Re: Looking for web2py developer for Italian small company

2020-01-22 Thread Hugo Alberto Rivera Diaz
Massimo,an honor to salute you! One question so you would recommend the use of py4web over web2py? Is py4web te next step for web2py developers? El mié., 22 ene. 2020 a las 0:23, Massimo Di Pierro (< massimo.dipie...@gmail.com>) escribió: > I strongly recommend py4web + vue.js :-) > > On

Re: [web2py] Re: py4web - form field default - appears to not be working for me

2020-01-22 Thread Jim Steil
Yes, that did the trick! Thanks Massimo On Wed, Jan 22, 2020 at 12:21 AM Massimo Di Pierro < massimo.dipie...@gmail.com> wrote: > can you try this? > > form = Form() > if not form.submitted: form.vars.update({field.name:field.default for > field in form.table if field.default}) > > Maybe I

RE: [web2py] Looking for web2py developer for Italian small company

2020-01-22 Thread John Bannister
Dear Ivan, Would be interested if you are looking to use py4web and vue.js John From: web2py@googlegroups.com [mailto:web2py@googlegroups.com] On Behalf Of Ivan Gazzola Sent: 21 January 2020 16:40 To: web2py-users Subject: [web2py] Looking for web2py developer for Italian small

Re: [web2py] Re: Web2py or py4web for a brand new project

2020-01-22 Thread AGRogers
OK, thanks. Re reporting errors, I suspect most errors will be due to my ignorance. But thanks for the encouragement. On Tue, Jan 21, 2020, 1:26 PM Massimo Di Pierro wrote: > You should use the py4web documentation. Also please report any error you > find. > > > On Tuesday, 14 January 2020

[web2py] Question about FORM

2020-01-22 Thread Константин Комков
Hello! Can somebody answer why If I use FORM() and inside FORM I create XML('') I don't have request.vars.test and form.vars.test after submit? -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) -

[web2py] web2py 2.18.3 Daemon problem with ubuntu 18.6 [was:] running two web2py instances on the same server under apache wsgi mod

2020-01-22 Thread Manuele Pesenti
Hi! At the moment I solved applying a debian daemon script template[1] I found with a simplified run script such like the one here under (saved in some runscript.sh file): NAME=web2py PIDDIR=/var/run/$NAME PIDFILE=$PIDDIR/$NAME.pid /path/to/bin/python /path/to/web2py/web2py.py -a