[web2py] Re: web2py with python 2.7 and web2py running on python 3

2020-03-20 Thread Tim Nyborg
Should be, but it can depend on what other tools you're using in web stack. E.g., the steps it'll take to get Apache running two different environments are different from the steps to get NGINX/Uwsgi, or Gunicorn. On Saturday, 14 March 2020 19:06:20 UTC, Andrea Fae' wrote: > > Is it possible to

[web2py] tailwindcss with web2py ?

2020-03-20 Thread António Ramos
any thoughts about tailwindcss ? Seems to me that could be the best option for web2py as it is very programable as we all like :) just one nice thing i like... https://tailwindcss.com/docs/extracting-components -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://

[web2py] Re: web2py with python 2.7 and web2py running on python 3

2020-03-20 Thread Jonathan Clark
Definitely if you're using the rocket web server. There are various ways to run different versions of python on the same machine but it depends on your OS how to do it. Once you can run different pythons, you can run different versions of web2py at the same time, but you will need to use differe

[web2py] shareable web2py pages on linkedin

2020-03-20 Thread Marco Prosperi
hello, if I share www.mysite.com/mypage, linkedin accepts it (can show a preview) but if there is another level as in www.mysite.com/blog/my-new_article then it refuses. It seems that this doesn't happen if I try to share links with more levels in the url from wordpress websites. Do you know ho

[web2py] error

2020-03-20 Thread Rashdan Hadri
I cant seem to log in when i get redirected from COursera python basics -- 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

Re: [web2py] Re: off topic - Alpine JS as an alternative to vuejs/react

2020-03-20 Thread Massimo Di Pierro
I tried Alpine. It is very slow compared to vue.js. For me it was a non-starter. On Friday, 28 February 2020 07:21:27 UTC-8, Ramos wrote: > > maybe this is helpful > > https://www.alpinetoolbox.com/ > > Em sex., 28 de fev. de 2020 às 06:19, Massimo Di Pierro < > massimo.dipie...@gmail.com> escr

[web2py] Re: how to expire sessions in py4web

2020-03-20 Thread Massimo Di Pierro
Session and login information are not same. The latter is stored in the former. When you logout it clears the login info in the session but does not clear the session. There is no need. You can of course do session.clear() if you want. Sessions tells py4web (or web2py) that you are the same use

[web2py] Re: Py4web readonly Form

2020-03-20 Thread Massimo Di Pierro
You may be right but what is the meaning of submitting and accepting a readonly form? What is a use case? On Friday, 6 March 2020 00:53:17 UTC-8, John Bannister wrote: > > Hi All, > > I have been testing Py4web and have the following to produce basically a > 'view record' option :- > > def view_

[web2py] Re: Py4Web fields of type 'upload' not working

2020-03-20 Thread Massimo Di Pierro
Please open a ticket about this. On Monday, 9 March 2020 03:42:54 UTC-7, John Bannister wrote: > > Hi All, > > Still struggling a lot with fields of type 'upload'. Whatever I try the > field remains None. Any help greatly appreciated. > > Typical use case is as follows: > > Model: > db.define_tab

Re: [web2py] pyweb login

2020-03-20 Thread Massimo Di Pierro
Try rm -rf app and python3.7 -m pip install -U py4web I think you have an old buggy version On Monday, 9 March 2020 14:43:47 UTC-7, Maurice Waka wrote: > > still getting same results. > see image attached. > > > On Tue, Mar 10, 2020 at 12:25 AM Jim S wrote: > >> Can you now run >> >> >> py4web-

Re: [web2py] Re: how to expire sessions in py4web

2020-03-20 Thread Carlos Hanson
Thanks. That makes sense. Unfortunately, I asked the wrong question after trying to figure out the answer myself. How do I force a logout after some period of time? I thought expiring the session would do that. In web2py, I had to extend the time so my users would stay logged in for a longer perio