Yeah, the fugly 0 trick works, but what a 2-bagger! Can't wait for the
new release.

On May 10, 4:44 pm, "Sebastian E. Ovide" <sebastian.ov...@gmail.com>
wrote:
> yes, I'm using that trick and it is working fine... except in the views
>
> On Tue, May 10, 2011 at 5:52 PM, Ross Peoples <ross.peop...@gmail.com>wrote:
>
> > The only thing that had really worked for me in the past was doing the if
> > 0: trick:
>
> > if 0:
> >     from gluon.dal import DAL
> >     from gluon.tools import Auth
> >     db = DAL()
> >     auth = Auth()
>
> > The code won't actually get executed, it's just there to give Eclipse and
> > other IDE's some direction.
>
> > If this still doesn't work, then you'll have to wait until the next web2py
> > release, which could be in a week or two.
>
> --
> Sebastian E. Ovide

Reply via email to