[google-appengine] Re: regarding accessing list of values

2009-04-21 Thread molicule
Hi, You have defined latitude and longitude as StringListProperty and are passing it a string as opposed to a list, either change the field type i.e. use GeoPt http://code.google.com/appengine/docs/python/datastore/typesandpropertyclasses.html#GeoPt or pass in a list location.latitude.append(self

[google-appengine] Re: regarding accessing list of values

2009-04-24 Thread Sagar T.R.
Hi, Thank you very much for your suggestionPlease also help me in making the attributes of an entity as unique and prevent from entering the duplicate values into the datastore.Actually I used the code like this is it right..?? class Route(db.Model): routenumber = db.StringProperty(u