views:

354

answers:

2

I am using appengine and appenginepatch for django

I have a class defined in my models that was inheriting from db.Model. I've now changed it to polymodel.PolyModel. Since making the change, my existing entities are no longer retrievable. Is there a way to access them or convert them?

Whats the recommended procedure for changing an entity class's kind?

TIA, Tom

+1  A: 

Solved using gaebar, google app engine backup and restore. Although this isnt necessarily going to be the best solution for large datastores..

+2  A: 

The hassle of migrating data makes you wonder if you always want to start off with polymodel for all new entites. Answer: No. As explained here.

bagheera
Just to add to what you said, the explanation says that you shouldn't use polymodels unless you think you might need the functionality later on.
Eric W.