diff -r 293a14668dc9 -r 18383d2e5a5b app/soc/models/student.py --- a/app/soc/models/student.py Tue Feb 17 20:07:20 2009 +0000 +++ b/app/soc/models/student.py Tue Feb 17 20:15:43 2009 +0000 @@ -24,9 +24,15 @@ from google.appengine.ext import db import soc.models.role +import soc.models.school class Student(soc.models.role.Role): """Student details for a specific Program. """ - pass + + #: A many:1 relationship that ties multiple Students to the + #: School that they attend. + school = db.ReferenceProperty(reference_class=soc.models.school.School, + required=False, collection_name='students') +