how to confine to write a string in specific list ,on google-app-engine

Posted by zjm1126 on Stack Overflow See other posts from Stack Overflow or by zjm1126
Published on 2010-06-09T08:46:27Z Indexed on 2010/06/09 8:52 UTC
Read the original article Hit count: 203

class FirstModel(db.Model):
    p = db.StringProperty({option:['aa','bb','cc']})

the error is :

NameError: name 'option' is not defined

what should i do ,thanks

© Stack Overflow or respective owner

Related posts about python

Related posts about string