Re: [web2py] SQLform.grid request not sending bool valuis

2020-11-24 Thread Vid Ogris
Yes they are writable. V V sre., 25. nov. 2020 ob 04:31 je oseba AGRogers napisala: > Are the boolean fields writable? I think unwritable fields are excluded > from request.vars. > > ___ > *www.TenOutOfTen.org* > rogers...@gmail.com > (+95)

Re: [web2py] Login via an link/URL

2020-11-24 Thread AGRogers
Thanks for the extra info :D ___ *www.TenOutOfTen.org* rogers...@gmail.com (+95) 09 250018669 (Myanmar) On Fri, 20 Nov 2020 at 05:39, valq...@gmail.com wrote: > login_bare is a normal function, it is intended to login through ajax, but >

Re: [web2py] Re: Update dropdown list in SQLFORM.grid based on selection in another dropdown list

2020-11-24 Thread AGRogers
Glad you got it working. I send javascript from my controller back to the view for some custom control widgets. That sounds similar to what you want to do. I dont know where i found the original code sample to do that - not in the book I dont think. This page

Re: [web2py] SQLform.grid request not sending bool valuis

2020-11-24 Thread AGRogers
Are the boolean fields writable? I think unwritable fields are excluded from request.vars. ___ *www.TenOutOfTen.org* rogers...@gmail.com (+95) 09 250018669 (Myanmar) On Tue, 24 Nov 2020 at 22:21, Yebach wrote: > Hello > > I have a

Re: [web2py] Cron instead of Scheduler

2020-11-24 Thread AGRogers
Glad to hear you got it sorted. ___ *www.TenOutOfTen.org* rogers...@gmail.com (+95) 09 250018669 (Myanmar) On Tue, 24 Nov 2020 at 18:02, Gaël Princivalle wrote: > Thank you for your reply. > > The problem was in the psycop2 library. >

[web2py] SQLform.grid request not sending bool valuis

2020-11-24 Thread Yebach
Hello I have a SQLform.grid and when validating fields i have some issues so to come around i have if request.args and request.args[0] in ['edit', 'new']: if form.update_form: if form.update_form.accepts(request.vars): print request.vars

Re: [web2py] Cron instead of Scheduler

2020-11-24 Thread Gaël Princivalle
Thank you for your reply. The problem was in the psycop2 library. Running these commands now I'm able to run the web2py workers: mv env env.old2 virtualenv --python $HOME/opt/bin/python2.7 env source env/bin/activate pip2 install uwsgi psycopg2-binary http://effbot.org/downloads/