Hi Kevin Keller,
*I apologize, I believe I didn't express myself correctly.*
*I tried to submit the application on the official web2py website, to be
part of the list "applications made with web2py", but an error ticket was
returned.*
Thanks!
Em sexta-feira, 8 de março de 2019 14:01:27 UTC-3,
I'd like to use react to build a relatively freestanding, single-page
front-end interface that communicates with web2py for dbio and heavier
processing. But I'm having a hard time wrapping my mind around how to
approach integrating them. I realize that I'm running into some gaps in my
knowledge
That seems perfectly doable. It's very much ok to use web2py simply to make
an API for react to call.
--
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
Okay. Good. Is there documentation somewhere on how to serve a static index
page? I can't seem to find it in the book.
On Monday, March 11, 2019 at 9:55:26 AM UTC-4, Leonel Câmara wrote:
>
> That seems perfectly doable. It's very much ok to use web2py simply to
> make an API for react to call.
>
As far as I understand, all files that is placed in the 'static' folder are
served as static, just don't forget to specify an extension -
'.../your_w2p_app/static/index.html'
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source cod
I wouldn't use web2py to serve the static page just use nginx directly.
--
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
On Monday, March 11, 2019 at 9:52:16 AM UTC-4, Ian W. Scott wrote:
>
> I'd like to use react to build a relatively freestanding, single-page
> front-end interface that communicates with web2py for dbio and heavier
> processing. But I'm having a hard time wrapping my mind around how to
> approach
I think this is a python 3 bug:
I have
request.requires_https()
in a model file 1_server.py
Then after I switch to Py3 recently, I start to collect these errors:
Ticket ID
221.2.44.75.2019-03-10.23-16-34.b272289e-a41d-4c91-a730-2346995d4bdb
write() argument must be str, not bytes
Version
8 matches
Mail list logo