I built an appengine application (python) which need to convert existing datastore entities in integer value (100) to float value (100.00) for currency conversion issue. How
Here is exampe for Nick Johnson
's answer:
Before
:
class Person(db.Model):
name = db.StringProperty()
age = db.StringProperty() #this will go to int
After
class Person(db.Expando):
pass
for person in Person.all():
person.age = int(person.age)
person.put()
Very after
:
class Person(db.Model):
name = db.StringProperty()
age = db.IntegerProperty()