[web2py] Re: fake_migration issues

2021-01-29 Thread Dave S
On Monday, January 25, 2021 at 6:36:23 PM UTC-8 Dave S wrote: > Porting another (personal) application from my old 2.14.6 environment to > 2.21.1., and copied both the table files and storage.sqlite from the old > application. Index page works, but another page which displays a sorted > list

Re: [web2py] Re: Got error when I put 'fields' as an argument to SQLFORM.grid

2021-01-29 Thread Muhammad Atif Ayaz
Thank you very much! On Fri, Jan 29, 2021 at 9:14 AM valq...@gmail.com wrote: > db.table['fieldname'] > > > четверг, 28 января 2021 г. в 07:31:04 UTC+3, at: > >> It gives error: `*AttributeError('str' object has no attribute >> 'tablename')*` >> >> The reason is that the field names are in strin

[web2py] Re: Threads in app

2021-01-29 Thread Dave S
On Saturday, December 12, 2020 at 3:20:46 AM UTC-8 ermolaev...@gmail.com wrote: > code: > threadGetRate = Thread(target=get_from_exch, args=(db, exchg)) > threadGetRate.start() > > I start app by: > > > web2py.py -S 7pay_in -M -R applications/7pay_in/modules/serv_rates.py -A > True 60 > > rise

Re: [web2py] Timeout for data entry screens: Help!

2021-01-29 Thread John Bannister
What database are you using? On Fri, 29 Jan 2021 at 16:12, Massimiliano wrote: > Reading better you message, I'm not sure that auth.settings.expiration is > what you need. > Sorry > > Il giorno ven 29 gen 2021 alle ore 16:10 Massimiliano > ha scritto: > >> You can set: >> >> auth.settings.expir

Re: [web2py] Timeout for data entry screens: Help!

2021-01-29 Thread Massimiliano
Reading better you message, I'm not sure that auth.settings.expiration is what you need. Sorry Il giorno ven 29 gen 2021 alle ore 16:10 Massimiliano ha scritto: > You can set: > > auth.settings.expiration > > Value are in seconds. So 86400 is one day, > > > > Il giorno ven 29 gen 2021 alle ore 1

Re: [web2py] Timeout for data entry screens: Help!

2021-01-29 Thread Massimiliano
You can set: auth.settings.expiration Value are in seconds. So 86400 is one day, Il giorno ven 29 gen 2021 alle ore 14:42 Davidiam ha scritto: > 2.18.5-stable+timestamp.2019.04.08.04.22.03 > (Running on Microsoft-IIS/10.0, Python 3.6.8) > > Hello, > > We built some web2py applications and we

[web2py] Timeout for data entry screens: Help!

2021-01-29 Thread Davidiam
2.18.5-stable+timestamp.2019.04.08.04.22.03 (Running on Microsoft-IIS/10.0, Python 3.6.8) Hello, We built some web2py applications and we are now getting feedback from the users that if they don't save their data entry screen data within about 10 minutes, that the save fails and they have to