[web2py] Accessing Postgres server from a secondary docker container without db.py

2019-12-17 Thread Paul Ellis
How do I do connect to a prostgres server using PyDAL but without a db.py in the secondary container or having all the tables drop when I connect without a db definition? I have a server running docker with containers for the nginx proxy, lets encrypt, web2py and postgres. one docker_compose.y

[web2py] Is there any documentation about DBAPI and JWT?

2019-12-17 Thread Tito Garrido
Hi Guys, Is there any documentation about DBAPI and JWT working together? I am trying to create a protected API that will be access by vue. Thanks! Tito -- Linux User #387870 . _/_õ|__| ..º[ .-.___.-._| . . . . .__( o)__( o).:___ -- Resources: - http://web2py.com - htt

[web2py] Took Py4Web on a spin.. few errors

2019-12-17 Thread Kevin Keller
Hey, I tried py4web from github today on ubuntu 18.04 python 3.6.9. Using the app scaffold creating a new app: works good adding new fields in models, works ok: sometimes I get the error "table persons already exists". I only have that table persons. I need to restart. Using Py4Web to create

[web2py] router and escaping urls

2019-12-17 Thread Dave S
In rewrite.py, the default pattern for validating args in the request URL is args_match=r'([\w@ =-]|(?<=[\w@ -])[.])*$' while the default pattern for files [file names?} is file_match = r'([-+=@$%\w]|(?<=[-+=@$%\w])[./])*$' # legal static subpath Note that file_match includes '%', but args_mat

[web2py] Re: Is there any documentation about DBAPI and JWT?

2019-12-17 Thread Dave S
On Tuesday, December 17, 2019 at 11:29:38 AM UTC-8, Tito Garrido wrote: > > Hi Guys, > > Is there any documentation about DBAPI and JWT working together? > > I am trying to create a protected API that will be access by vue. > > Thanks! > > Tito > I don't know about DBAPI, but web2py's JWT is doc

[web2py] Re: problems running PY4WEB

2019-12-17 Thread Dave S
On Thursday, October 10, 2019 at 10:38:53 PM UTC-7, Kevin Fonseca wrote: oops, another pinned post! Please save pinning for messages that need long-term visibility. /dps -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source c