[web2py] Enable input (button) after sending form

2018-11-06 Thread Константин Комков
Hello, I found method enableElement in web2py.js. Can somebody help me turn on input after it was disabled. I know id of that input. enableElement: function(el) { var method = el.is('input') ? 'val' : 'html'; if(el.data('w2p_enable_with') !== undefined) { /* set to old en

[web2py] Implementing a chat room?

2018-11-06 Thread Jade Keller
I am trying to implement a chat room, or some type of messaging system for my application. Has this already been done? -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Repor

[web2py] Re: Implementing a chat room?

2018-11-06 Thread 黄祥
yes, think there is one in web2py appliance base on gevent, but cant find right now (seems the folder name changed) ref: https://github.com/mdipierro/web2py-appliances best regards, stifan -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2

Re: [web2py] Re: off topic: pg_dump syntax for pythonanywhere

2018-11-06 Thread Alexandra Lee
Hi. thanks for your reply. I need to take my question down. I got it. Kind regards, Alexandra On Mon, Nov 5, 2018 at 2:25 AM Alex Glaros wrote: > Alexandra, I have not used it recently and only have my notes below: > > pg_dump --host= > yourPythonAnywhereDbName.postgres.pythonanywhere-services

Re: [web2py] Re: off topic: pg_dump syntax for pythonanywhere

2018-11-06 Thread Alexandra Lee
Hello again, @Alex Glaros and @Ben Duncan -- Thanks for your replies. I was trying to do a weekly backup in pythonanywhere . My script works finally (with many thanks to kind people out there like yourselves). I can choose a day of the week and put that in (weekday == int) 0 being Monday. I remove

Re: [web2py] Re: Implementing a chat room?

2018-11-06 Thread Jade Keller
It looked like the KPAX2 appliance had the code that could work, but I cannot make it work at all. On Tue, Nov 6, 2018 at 2:06 PM 黄祥 wrote: > yes, think there is one in web2py appliance base on gevent, but cant find > right now (seems the folder name changed) > ref: > https://github.com/mdipierr

Re: [web2py] Re: Implementing a chat room?

2018-11-06 Thread 黄祥
not sure, think it's not KPAX, learned it from web2py appliance before. best regards, stifan -- 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