Hi,

i have a model with a referenceproperty that points to another
instance of a model. i know the entity is stored because i can see the
reference property and the referenced entity in the dataviewer.

But, when i try to access the referenced instance or anything about
the referenced instance (as i understand from the online docs), i just
get the following error:

AttributeError: 'ReferenceProperty' object has no attribute ...

How can i instance a model entity with a ReferenceProperty object?
This should be trivial i think but the docs say that just by accessing
an attribute should trigger the fetch. i dont see that happening when
i execute :

modelAinstance.modelBref.myattribute

where modelAinstance is an instance of ModelA which contains the
attribute ModelBref which is a ReferenceProperty holding a reference
to an instance of ModelB

What am i missing?

Thanks for the help...

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