On Tuesday, October 25, 2011 10:38:38 AM UTC-4, Archibald Linx wrote: > > Thank you Anthony. > > Do you mean "multiple=(0,9)" ? I cannot find this possibility in the > documentation. >
Oops, yes, that's what I meant. Apparently, this is undocumented. > > How can I specify that the format of auth_user be auth_user.username ? > Should be something like IS_IN_DB(db, 'auth_user.id', db.auth_user._format, multiple=(0,9)) Note, db.auth_user._format is the default format for auth_user, which is '%(username)s', which is what you want. Anthony