ah, that was silly of me, thank you for the correction.
On Wed, 21 Dec 2011 22:39:29 +0530, DenesL <[email protected]> wrote:
On Dec 21, 11:41 am, "Chandrakant Kumar" <[email protected]> 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/

