22 Oct
2001
22 Oct
'01
10:29 p.m.
Hi Max, I have a third ZClass, "Enrollment" which has two properties: student_id and class_id. Now you can write a method: getStudentIdsForClass(class_id) or getClassIdsForStudent(student_Id). With ZPatterns you can easily map these methods on to "listish" properties of the Students/Classes. -steve On Monday, October 22, 2001, at 02:44 PM, Max M wrote:
I am in the situation where I have to do what corresponds to a many-to-many relation in Zope.
I basically have two zClassses. students and subjects. There can be many subjects, and in any subject there can be any number of students.