[google-appengine] Re: Changing StringProperty to TextProperty of existing AppEngine DataStore entity without losing data

2019-05-20 Thread Heisenberg W
require binary data. > If so, you may consider BlobProperty > <https://cloud.google.com/appengine/docs/standard/python/datastore/typesandpropertyclasses#BlobProperty> > . > > On Thursday, May 16, 2019 at 12:29:38 PM UTC-4, Heisenberg W wrote: >> >> >>

[google-appengine] Re: Changing StringProperty to TextProperty of existing AppEngine DataStore entity without losing data

2019-05-20 Thread Heisenberg W
Thanks for the response. I have already seen that expando answer in stackoverflow and I was having trouble with one thing. >From stackoverflow: Before: class Person(db.Model): name = db.StringProperty() age = db.StringProperty() #this will go to int After class Person(db.Expando):

[google-appengine] Changing StringProperty to TextProperty of existing AppEngine DataStore entity without losing data

2019-05-16 Thread Heisenberg W
I have a django project and I want to change property type of one of the models. My current model.py is: class Person(ndb.Model): property_one= ndb.StringProperty() property_two= ndb.StringProperty() and I want to change it to: class Person(ndb.Model): property_one=

[google-appengine] I have a Python project deployed in google app engine, and I am experiencing conflict issues between different versions of the same project

2018-11-14 Thread Heisenberg W
In my newest project version, I added some new routes and handlers. Now, after deploying the newest version, I had to migrate the traffic back to the old version, but now I keep getting error "Route 'u name not defined", even though my previous source code has no reference to this route. In