Accessing ReferenceProperty values in a one to many relation from a referenced key in Appengine?
<p>I am using AppEngine in Python and I have two Models using ndb  :</p>

<pre><code># Post model
class WikiPost(ndb.Model) :
    url  = ndb.StringProperty(required = True)
    content = ndb.TextProperty(required = True)
    date = ndb.DateProperty(auto_now_add = True)
</code></pre>

<p>Second Model</p>

<pre><code>class WikiPostVersion(ndb.Model) :
    r_post = ndb.KeyProperty(kind = WikiPost)
    content = ndb.StringProperty()
    date = ndb.DateProperty(auto_now_add = True)
</code></pre>

<p>How I can Access the values of the referenced key r_post of the model WikiPostVersion?</p>

<p><code>r_post</code> is a key, so you can just call <code>.get()</code> on it.</p>

<pre><code>referenced_wikipost = my_wikipostversion_instance.r_post.get()
</code></pre>

python google-app-engine app-engine-ndb