a, i c, pardon me and thank you so much for correcting me, anthony. On Mon, Jun 6, 2011 at 9:00 AM, Anthony <abasta...@gmail.com> wrote:
> On Sunday, June 5, 2011 9:52:23 PM UTC-4, 黄祥 wrote: >> >> i think notnull = TRUE is same like requires = IS_NOT_EMPTY() >> > > Not exactly -- notnull=True is enforced by the database, whereas > requires=IS_NOT_EMPTY() is a validator that is enforced by web2py forms (as > well as the DAL validate_and_insert method). > > Anthony > >