And alternative would be to override 'kind'.  Just make sure you
remember when doing GQL queries in the console:

  class MyModelClassWithLongName(db.Model):

    def kind(self):
      return 'MWLN'

On Nov 4, 6:55 am, Anh Hai Trinh <anh.hai.tr...@gmail.com> wrote:
> Since every full entity key includes the name of its model class (and
> its parents'), is the following scheme preferable in term of metadata
> space usage?
>
> Instead of
>
>   class MyModelClassWithLongName(db.Model):
>       ...
>
> I'd use:
>
>   class MWLN(db.Model):
>       ...
>
>   MyModelWithLongName = MWLN
>
> ----aht
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to google-appengine@googlegroups.com
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to