Re: [web2py] Re: py4web - will it inherit web2py structures ?

2019-10-15 Thread 'graham' via web2py-users
Thanks Massimo, that will probably sort it out, I've had a quick look at bottle and should be able to amend the code appropriately. I'll post again when it appears to be working, which, hopefully, won't be very long graham On Tuesday, October 15, 2019, 3:38:48 AM GMT+1, Massimo Di

Re: [web2py] Re: py4web - will it inherit web2py structures ?

2019-10-14 Thread Massimo Di Pierro
py4web has no current and does not need it it. from py4web import request and just use request in your actions. Mind this is a bottlepy request, not the same as the web2py request object. On Monday, 14 October 2019 06:03:14 UTC-7, graham wrote: > > I'll certainly give more details when it's

Re: [web2py] Re: py4web - will it inherit web2py structures ?

2019-10-14 Thread 'graham' via web2py-users
I'll certainly give more details when it's working - the original web2pyslices posting was in 2016. But my problem at the moment is where is 'current.request' ? That was in from web2py.gluon import current but despite importing py4web (and pydal) there seems to be no 'current' structure. As

[web2py] Re: py4web - will it inherit web2py structures ?

2019-10-13 Thread Massimo Di Pierro
I was not aware of it. Could you post some screen shots? maybe an example of a generated app? Unless you use grids it should be easy to port it to py4web. On Sunday, 13 October 2019 17:23:37 UTC-7, graham wrote: > > I used web2py some years ago and produced a program generator ( >