I decided to dispense with putting all that junk in my controllers and
models and instead, I built an ignore list that I put in my
preferences. It's a much cleaner approach IMHO.

On Dec 31, 1:56 pm, Thadeus Burgess <thade...@thadeusb.com> wrote:
> Add to your list...
>
> if 0:
>   ....
>   ....
>   from gluon.dal import DAL
>   db = DAL()
>
> --
> Thadeus
>
> On Thu, Dec 30, 2010 at 4:46 AM, weheh <richard_gor...@verizon.net> wrote:
> > I'm trying to get eclipse to ignore undefined var: db using the
>
> > if 0:
> >  import gluon
> >  from ... import ...
>
> > trick, but I'm not sure where db is coming from?
>
>

Reply via email to