Skip to content Skip to sidebar Skip to footer

Overcome Appengine 500 Byte String Limit In Python? Consider Text

I get this: BadValueError: Property is 804 bytes long; it must be 500 or less. Consider Text instead, which can store strings of any length. I read this: http://blog.zmxv.com/20

Solution 1:

so consider the TextProperty.

switch from.

yourproperty = db.StringProperty()

to

yourproperty = db.TextProperty()

and you will be fine. keep in mind that TextProperty is not indexed.

Post a Comment for "Overcome Appengine 500 Byte String Limit In Python? Consider Text"