On Dec 21, 11:41 am, "Chandrakant Kumar" <k.03chan...@gmail.com> wrote: > I'm passing a tuple of strings to IS_IN_SET validator, but i'm getting > this error - > > <type 'exceptions.AttributeError'>('IS_IN_SET' object has no attribute > 'startswith') > > code is - Field('state', IS_IN_SET(STATE_LIST)),
Field('state', requires = IS_IN_SET(STATE_LIST)), you are missing the 'requires' parameter name and Field is trying to interpret the tuple as the field type. > > where STATE_LIST is a tuple of strings. > -- > Using Opera's revolutionary email client:http://www.opera.com/mail/