- Timestamp:
- 30 May 2011, 07:17:03 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.sirp/trunk/src/waeup/sirp/university/courserefs.txt
r6217 r6244 48 48 >>> course.code = 'CRS1' 49 49 >>> fac['DEPT'].courses.addCourse(course) 50 'Course added.'51 50 52 51 Now let's add another department, which will also hold a course: … … 59 58 >>> course.code = 'CRS2' 60 59 >>> fac['DEPT2'].courses.addCourse(course) 61 'Course added.'62 60 63 61 Finally, we add a certificate with referrers (certificate courses) to … … 67 65 >>> cert.code = 'CERT' 68 66 >>> fac['DEPT'].certificates.addCertificate(cert) 69 'Certificate added.'70 67 71 68 >>> fac['DEPT'].certificates['CERT'].addCourseRef(
Note: See TracChangeset for help on using the changeset viewer.