rchurch
unread,Jun 13, 2008, 1:04:14 PM6/13/08Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Google App Engine
I have the following model:
class Location(db.Model):
title = db.StringProperty(required=True)
text = db.TextProperty()
imageUrl = db.StringProperty()
address = db.StringProperty(required=True)
addressOption = db.StringProperty()
city = db.StringProperty(required=True)
state = db.StringProperty(required=True)
stateShort = db.StringProperty(required=True)
zipcode = db.StringProperty(required=True)
email = db.StringProperty()
phone = db.StringProperty()
features = db.StringListProperty()
active = db.BooleanProperty(required=True, default=True)
I am trying to bulkload information to the model. I can't seem to
figure out how to specify the information for the "features"
StringListProperty. The bulkloader treats each character as a
seperate item in the list.
e.g. If the "features" column in the CSV file is:
[u'beach front']
the datastore treats the column as:
[,u,',b,e,a,c,h, ,f,r,o,n,t,',]
Thanks for the help!