Re: [web2py] Re: I cant access db data

2018-04-17 Thread Maurice Waka
Thanks. It worked. On Tue, 17 Apr 2018, 15:37 Anthony wrote: > On Tuesday, April 17, 2018 at 1:33:29 AM UTC-4, Maurice Waka wrote: >> >> Sorry, am still experiencing the same issue. >> This module is one of the many that I import to the controller . >> i.e. >> >>

Re: [web2py] Re: I cant access db data

2018-04-17 Thread Anthony
On Tuesday, April 17, 2018 at 1:33:29 AM UTC-4, Maurice Waka wrote: > > Sorry, am still experiencing the same issue. > This module is one of the many that I import to the controller . > i.e. > > controller: > from gluon import current > db = current.db > There is nothing in web2py that

Re: [web2py] Re: I cant access db data

2018-04-16 Thread Maurice Waka
Sorry, am still experiencing the same issue. This module is one of the many that I import to the controller . i.e. controller: from gluon import current db = current.db from ..path/to/module import my_module some code.. def access_this(): class Filters(object): @staticmethod

Re: [web2py] Re: I cant access db data

2018-04-16 Thread Maurice Waka
I hadn't done that. I'll redo Regards On Tue, Apr 17, 2018 at 7:26 AM, Dave S wrote: > > > On Monday, April 16, 2018 at 9:04:35 PM UTC-7, Maurice Waka wrote: >> >> from this >> >> link, i tried