[web2py] Re: importing gluon to a module in the modules directory

2011-04-21 Thread Omri Har-Shemesh
I thought I tried it before, but apparently I didn't, or I changed something because this way seems to work. It also works if I use import gluon.dal and check for gluon.dal.DAL. Sorry to have bothered you, but beforehand I got an error saying that gluon is not recognized. I'm not so sure what ch

[web2py] Re: importing gluon to a module in the modules directory

2011-04-21 Thread Omri Har-Shemesh
This is stable - I only use the stable version and frequently update using the "Update" link.

[web2py] Re: importing gluon to a module in the modules directory

2011-04-21 Thread Anthony
Did you try from gluon.dal import DAL On Thursday, April 21, 2011 10:17:47 AM UTC-4, Omri Har-Shemesh wrote: > Hello, > > I'm writing a module to contain some class definitions I need for my > application's business logic and I would like to access gluon from my > module. > I placed my mo

[web2py] Re: importing gluon to a module in the modules directory

2011-04-21 Thread Massimo Di Pierro
Is this trunk or stable? Because we are testing a new import mechanism, although I do not know that is the cause of the problem. On Apr 21, 9:17 am, Omri Har-Shemesh wrote: > Hello, > > I'm writing a module to contain some class definitions I need for my > application's business logic and I would