[web2py] Re: nginx, basic auth: internal error

2019-05-10 Thread Jörg Schneider
Are you logged in in the admin application the same time (same browser) ? Am Mittwoch, 8. Mai 2019 08:49:34 UTC+2 schrieb tomasz bandura: > > Hello, > > I use web2py (2.16.1) on 2 environments: > 1. Embedded Rocket wsgi server > 2. Deployed on nginx+uwsgi > > I have the same application on both en

Re: [web2py] Re: nginx, basic auth: internal error

2019-05-10 Thread tomasz bandura
No, I also clear the cache of browser to be sure there is no any active session. pt., 10 maj 2019 o 13:59 Jörg Schneider napisał(a): > Are you logged in in the admin application the same time (same browser) ? > > Am Mittwoch, 8. Mai 2019 08:49:34 UTC+2 schrieb tomasz bandura: >> >> Hello, >> >>

[web2py] How to do I stop auth.requires_login() from redirecting to the default/user controller?

2019-05-10 Thread Melody Daniel
My app consists of two sides, the public side(default/index) accessible to anyone from anywhere and the private side(admin/index) accessible to only administrators. I moved the function responsible for authentication from the 'default.py' controller to the 'admin.py' as the public side requires

Re: [web2py] Re: Future of web2py

2019-05-10 Thread Carlos Costa
I am developing this on web2py apps and I plan to contribute with it on web3py. Em sex, 10 de mai de 2019 às 03:35, Martin Weissenboeck escreveu: > Is it planned that web3py will support the development of PWAs? > Martin > > Am Fr., 10. Mai 2019 um 03:58 Uhr schrieb Massimo Di Pierro < > massimo

[web2py] Re: How to do I stop auth.requires_login() from redirecting to the default/user controller?

2019-05-10 Thread Leonel Câmara
You need to set login_url auth.settings.login_url = URL(YOUR_NEW_CONTROLLER, YOUR_NEW_FUNCTION) -- 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 rece

[web2py] Re: How to do I stop auth.requires_login() from redirecting to the default/user controller?

2019-05-10 Thread Leonel Câmara
Also you probably want to change these as well auth.settings.verify_email_next auth.settings.request_reset_password_next -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Repo

[web2py] Re: How to change the time zone in web2py under PythonAnywhere?

2019-05-10 Thread João Matos
Thanks Massimo. In this case that is exactly what I want. sexta-feira, 10 de Maio de 2019 às 02:59:24 UTC+1, Massimo Di Pierro escreveu: > > > Mind os.eviron is not thread safe. You are changing not your one app, but > for all your installed web2py apps. > > On Tuesday, 7 May 2019 11:06:21 UTC-

Re: [web2py] Re: Future of web2py

2019-05-10 Thread Massimo Di Pierro
What is pwa? -- 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 you are subscribed to the Google Groups "web2py-users" gro

[web2py] Vue2pyj - alternative web IDE

2019-05-10 Thread Val K
As result of experimenting with Rapydscript I want to present my alternative web IDE for web2py, (that could be easily ported to web3py as well) https://github.com/valq7711/vue2pyj Any feedback is appreciated -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://g

[web2py] Boolean types with Postgres adapter

2019-05-10 Thread John Underhill
The documentation states the SQLite lacks a boolean data type, so PyDAL maps boolean values to CHAR(1). But why do you do this with Postgres? Looking in my migration logs, I see boolean fields being created as CHAR(1). Postgres does have a boolean type. John -- Resources: - http://web2py.c

Re: [web2py] Re: Future of web2py

2019-05-10 Thread 黄祥
> > What is pwa? ref: https://en.wikipedia.org/wiki/Progressive_web_applications https://developers.google.com/web/progressive-web-apps/ https://developer.mozilla.org/en-US/docs/Web/Progressive_web_apps best regards, stifan -- Resources: - http://web2py.com - http://web2py.com/book (Document