Re: [web2py] Re: Off topic : visual diagrams anyone ???

2019-12-03 Thread Dave S
On Monday, December 2, 2019 at 1:51:42 AM UTC-8, Ramos wrote: > > Nothing , im am using it already. > Just sharing it with you... > :) > Any particular advice on how to use with web2py app, or did you find that information at the link was sufficient? /dps > > Em seg., 2 de dez. de 2019 às 0

[web2py] Document about python web frameworks. Web2py not compatible with python 3???

2019-12-03 Thread António Ramos
Someone needs some reading about web2py and python3 support https://cdn2.hubspot.net/hubfs/4542168/Ebooks%20and%20Portfolios%20and%20Lead%20Magnets/Introduction%20to%20Python%20for%20Tech%20Managers%20by%20STX%20Next.pdf -- Resources: - http://web2py.com - http://web2py.com/book (Documentati

Re: [web2py] Re: Off topic : visual diagrams anyone ???

2019-12-03 Thread António Ramos
havent gone far with it but i intend to automate the generation of diagrams. So far i´m statically coding a diagram like the following [image: image.png] was produced by just this code stateDiagram [*] --> Lote Lote --> Amostra Amostra --> Inspeção:Sim Amostra --> Alerta:Não

[web2py] Getting error with login_bare

2019-12-03 Thread Morganti
Hello friends, I am trying to user JWT but I am having a problem with login_bare. After some errors trying to use the solution suggested here https://groups.google.com/forum/#!topic/web2py/hWWMXazeEuc I tried to run manually the command: new_user = auth.login_bare('u...@email.com', 'my_pass')

[web2py] Re: Redis session error - latest web2py master

2019-12-03 Thread Leonel Câmara
> > py4web does sessions in redis by default (if you have redis). Just saying. > Massimo, this really doesn't help. Web2py had working redis sessions and right now, in master, it doesn't. Web2py should not break existing apps just because there's py4web, there's no way people can all migrate t

[web2py] Re: Extraction of web2py configuration support

2019-12-03 Thread Leonel Câmara
Config support for your apps comes included with any relatively recent web2py version, you just need to look into a modern welcome app models to see how to use it in your old apps. -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Sour

Re: [web2py] Re: Off topic : visual diagrams anyone ???

2019-12-03 Thread Dave S
On Tuesday, December 3, 2019 at 5:01:31 AM UTC-8, Christian Varas wrote: > > Hi, for this I use visjs https://visjs.org you can change the form of the > node, pu icons, images change lines to arrow etc.., I've developed a custom > note taking app, that makes a mind map when you add notes. > > E

[web2py] confirm on form submit

2019-12-03 Thread Vlad
The view has the following link: {{=A('Refunded', callback=URL('refund', target='REFUND')}} > The function 'refund' returns the form, and the idea is that this form can change from the initial form to a confirmation form: def refund(): > > form=FORM('Refund:', > INPUT(

Re: [web2py] confirm on form submit

2019-12-03 Thread Massimiliano
Don't use the callback, instead submit the form passing the refound param. If it exists, return form 2. On Wed, Dec 4, 2019 at 6:56 AM Vlad wrote: > The view has the following link: > > {{=A('Refunded', callback=URL('refund', target='REFUND')}} >> > > > The function 'refund' returns the form, a