> > I never got this to work, as I mentioned above > auth.define_tables(username=True) > db.auth_user.username.requires.insert(0,IS_MATCH("[a-z].*")) >
Is that the exact code, with nothing coming between the auth = Auth(...) line (not shown above) and the auth.define_tables() line, and nothing coming between the above two lines? I ask because when auth.define_tables() creates the auth_user table, the username field gets a list of validators, not a tuple. Somewhere in your code, it's getting a tuple of validators. Anthony --