Hi Pierre, I've read your excellent pages and followed your instructions before, to good effect. Of course, the downside is that one ends up with a lot of junk code in the beginning of one's files. I was under the impression that the latest version of web2py bypassed all that with a simple 1-liner: from gluon import * but this doesn't seem to be the case as it doesn't work for me. Hence, my question and this thread. Thanks for the quick response!
On Jun 20, 12:16 am, Pierre Thibault <[email protected]> wrote: > 2011/6/19 weheh <[email protected]> > > > I'm using web2py 1.96.4 with Eclipse. I put > > from gluon import * > > in a model I was debugging. Eclipse still shows all the web2py stuff > > like db, DIV, session, T, etc. as being undefined variables. What am I > > doing wrong? > > All these things are magically imported by web2py. This is not standard > Python programming. > > Here a few pointers: > > http://pierrethibault.posterous.com/?tag=eclipse&page=2 > > http://pierrethibault.posterous.com/tag/eclipse > > -- > > A+ > > ------------- > Pierre > My blog and profile > (http://pierrethibault.posterous.com)<http://pierrethibault.posterous.com> > YouTube page > (http://www.youtube.com/user/tubetib)<http://www.youtube.com/user/tubetib> > Twitter (http://twitter.com/pierreth2) <http://twitter.com/pierreth2>

