On Sun, Feb 15, 2009 at 11:03 AM, srid <[email protected]> wrote:

> Before deploying version 2, I renamed a field in one of my models.
> ("foo" to "bar"). But the dataviewer in dashboard still shows *both*
> the fields.
>
> Why is this happening? I expect "foo" to vanish naturally. How to
> remove this unneeded field?

Your model classes have nothing to do with the data storage in the
datastore. If you load an entity from the datastore *into* a model
instance then it will simply ignore properties that aren't defined in
your model. So, just remove the property from your model class.
There's not an easy way to remove the properties from the existing
entities.


Dave.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to