required should be True or False. if required=True web2py prevents an
explicit insert without a value and value can be None. If notnull=True
then value cannot be None. The later check is enforced at the db
level. requires are the validators.

On Jun 17, 9:43 am, Jean-Guy <jean...@gmail.com> wrote:
> Hello dear web2py friends,
>
> What the difference between those validators :
>
> requires=IS_NOT_EMPTY()
>
> required=IS_NOT_EMPTY()
> not sure about this one if it is not only a typo error I made
>
> and
>
> notnull=True
>
> Jonhy

Reply via email to