title: One-To-Many Example in NDB
body: <p>I am trying to create ndb.Model class like Students and subjects</p>
  
  <pre><code>class Subject(ndb.Model):
       name = ndb.StringProperty()
  
  class Student(ndb.Model):
      name = ndb.StringProperty()
      subject = ndb.KeyProperty(kind=Subject)
  </code></pre>
  
  <p>One Student can have many Subjects. How to add and store these in this Model. I could not find any example of it. For String Property .. there is field property i.e. repeat=true</p>
  
  <p>How to achieve this and is there any working example on the web. Sorry if it is duplicate question but I tried with my limited skills to search this forum.</p>