[web2py] Re: selecting with IS_IN_DB()

2019-03-18 Thread mostwanted
Thank you Dave S, i figured the IS_IN_DB() approach wouldn't be the best solution, i went with another approach which has me stuck too, when you have time please look at it & see how you can help me * https://groups.google.com/forum/#!topic/web2py/MeQEA9vB-Vc

Re: [web2py] Re: request.requires_https() Python 3 bug

2019-03-18 Thread Yi Liu
Thanks, Lovedie. I already took the risk and tried 2.18.4 locally, not convinced to upgrade. I will stay with 2.17.2 for now. On Friday, March 15, 2019 at 8:16:02 PM UTC-7, Lovedie JC wrote: > > You could backup the web2py folder, the try the new web2py 2.18.4 then > revert in case it doesn't wo

[web2py] Re: selecting with IS_IN_DB()

2019-03-18 Thread Dave S
On Saturday, March 16, 2019 at 2:18:03 AM UTC-7, mostwanted wrote: > > > Hi guys, i am trying out the IS_IN_DB() validator for the first time, in > my research i cant really find out what i am looking for so i was hoping > someone with better understanding would assist me. I have 2 tables, one

[web2py] web2py returns an ImportError that can't find the module, but the .pyc file is in the _pycache__ dir

2019-03-18 Thread João Matos
After installing a compiled app, web2py returns an ImportError that can't find the module, but the .pyc file is in the modules\__pycache__ dir. The compiled app doesn't transport the module\general.py (which is correct) but it includes th __pycache__\*.pyc (which is also correct). The problem s

[web2py] Re: Web2py install script python 3/Apache/Ubuntu

2019-03-18 Thread Jim S
+1 to what Massimo said On Sunday, March 17, 2019 at 9:43:58 PM UTC-5, Massimo Di Pierro wrote: > > In 2019 I really do not feel recommending using Apache to anybody. nginx > has clearly won this battle. > > On Sunday, 17 March 2019 19:35:55 UTC-7, gertk wrote: >> >> apt-get install libapache2-mo

[web2py] Grid's selectable checkboxes don't appear in Google Chrome (they appear in IE and Firefox).

2019-03-18 Thread João Matos
Grid's selectable checkboxes don't appear in Google Chrome (they appear in IE and Firefox). Windows 7 Pro x64 SP1+all updates Python 3.7.1 x86 web2py 2.18.4 Firefox 65.0.2 x64 IE 11 Google Chrome 73.0.3683.75 (Official Build) (64-bit) -- Resources: - http://web2py.com - http://web2py.com/book

[web2py] Re: Error accessing app edit

2019-03-18 Thread Leonel Câmara
This was due to changes I made to the way web2py discovers exposed functions in a controller file. It uses the python parser so it has a problem with syntax errors. I made a pull request that teaches the admin to deal with them: https://github.com/web2py/web2py/pull/2151 -- Resources: - http:

[web2py] Re: Filtering through a selected group of entities with a search function

2019-03-18 Thread mostwanted
Thanks for that assistance on sessions *@ *Константин Комков, On Monday, March 18, 2019 at 9:46:14 AM UTC+2, Константин Комков wrote: > > Did you write that in db.py? > > session .connect(request >

Re: [web2py] Re: Web3py reboot

2019-03-18 Thread Kevin Keller
Just for reference: https://www.jhipster.tech/ On Mon, Mar 18, 2019 at 9:59 AM Kevin Keller wrote: > Well, if you want to have something different, we would probably need to > look into things like scaffolding of a web3py REST backend with oauth2+jwt > security for the endpoints plus automatic o

Re: [web2py] Re: Web3py reboot

2019-03-18 Thread Kevin Keller
Well, if you want to have something different, we would probably need to look into things like scaffolding of a web3py REST backend with oauth2+jwt security for the endpoints plus automatic openapi (swagger) documentation/files and a frontend based i,.e. on Vue.js or React/Angular. Somewhat similia

[web2py] Re: "NameError: name 'pydal' is not defined" when function has typing type in def

2019-03-18 Thread João Matos
This is valid Python code. table and rec_id are defined in the on_delete function arguments (it's the function used in the ondelete argument of a grid). def on_delete(table: pydal.objects.Table, rec_id: str): row is the variable name. pydal.objects.Row is the variable type. I'm using Pyt

[web2py] Re: Filtering through a selected group of entities with a search function

2019-03-18 Thread Константин Комков
Did you write that in db.py? session .connect(request , response , db_app, masterapp=None) -- Resources: - http://web2py.com - http://w

[web2py] Re: Error after edit project

2019-03-18 Thread Константин Комков
It proceeds for two week in last day of week I see that error, but I know that code don't have errors, then in Monday I open app for test and all work! Today it is work again, but in Saturday I have saw error not only on server but and if I was usual user. I need to edd that I cleared cache on s