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