On Oct 3, 12:08 am, Rafe <[EMAIL PROTECTED]> wrote:
>   Waldemar,
>
>   It is not necessary to have a separate Property type for accessing a
> model key without loading it from the datastore.  You can instead:
>
>     class MyModel(db.Model):
>       my_reference = db.ReferenceProperty()
>
>     ....
>
>     my_instance = MyModel.all().get()
>     MyModel.my_reference.get_value_for_datastore(my_instance)

Yes, but we work a lot with key_names, so our KeyReferenceProperty is
still easier to use for our case.

Bye,
Waldemar Kornewald
--~--~---------~--~----~------------~-------~--~----~
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