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:
>
>
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?
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?
3 matches
Mail list logo