[web2py] Re: 'IS_NOT_EMPTY' is not defined

2010-10-14 Thread Francisco Costa
I was using this on a custom module.. I've follow Martin suggestion by include "from gluon.validators import *" and everythings works well now. Thank you! On Oct 14, 3:14 pm, mdipierro wrote: > what web2py version? Where do you use IS_NOT_EMPTY? > > On Oct 14, 6:16 am, Francisco Costa wrote: > >

[web2py] Re: 'IS_NOT_EMPTY' is not defined

2010-10-14 Thread mdipierro
what web2py version? Where do you use IS_NOT_EMPTY? On Oct 14, 6:16 am, Francisco Costa wrote: > I'm getting this: > > NameError: global name 'IS_NOT_EMPTY' is not defined > > What should i import?

[web2py] Re: 'IS_NOT_EMPTY' is not defined

2010-10-14 Thread Martin.Mulone
Strange I think: from gluon.validators import * but this is imported by default app or are you using modules? On Oct 14, 8:16 am, Francisco Costa wrote: > I'm getting this: > > NameError: global name 'IS_NOT_EMPTY' is not defined > > What should i import?