Nick and Rafe,

this is great to know. Am I correct to assume that this gives us an
easy way to rename classes? Let's say I had this:

class Foo(db.Model):
....

and want to rename it to Bar in my code but I have an app already
running with lots of data. I can just say:

class Bar(db.Model):
     @classmethod
     def kind(cls):
          return 'Foo'

     ...

Thanks


--~--~---------~--~----~------------~-------~--~----~
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