I am trying to create ndb.Model class like Students and subjects
class Subject(ndb.Model): name = ndb.StringProperty() class Student(ndb.Model): na
Use the subject as a key.
me = Student(key_name='KurzedMetal') programming = Subject(key_name='Programming') programming.put() me.subject = programming.key() me.put()