title: Many-To-Many Relationships in Google App Engine Datastore (ndb)
body: <p>I have two models: Members and Events. A member can participe in many events and in an event, there are many participants. I think about like this:</p>
  
  <pre><code>class Members(ndb.model):
      event = ndb.KeyProperty(repeated=True)
  
  class Events(ndb.model):
      member = ndb.KeyProperty(repeated=True)
  </code></pre>
  
  <p>What's the best way to do many-to-many relationship?</p>