- Timestamp:
- 15 Apr 2011, 09:46:16 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.sirp/trunk/src/waeup/sirp/browser/interfaces.py
r5005 r5950 7 7 from waeup.sirp.university.interfaces import ( 8 8 IFacultyContainer, IFaculty, IDepartment, ICourseContainer, ICourse, 9 ICertificateContainer, ICertificate, ICertificateCourse )9 ICertificateContainer, ICertificate, ICertificateCourse, CourseSource) 10 10 11 11 class IBreadcrumb(Interface): … … 55 55 """Get the list of breadcrumbs as real Python list. 56 56 """ 57 58 class ICertificateCourseAdd(ICertificateCourse): 59 """A certificatecourse is a course referenced by a certificate, which 60 provides some own attributes. 61 """ 62 course = schema.Choice( 63 title = u'Course to be referenced', 64 source = CourseSource(), 65 readonly = False, 66 ) 67 68 level = schema.Int( 69 title = u'Level of this course', 70 required = True, 71 default = 100, 72 readonly = False, 73 ) 74 75 core_or_elective = schema.Bool( 76 title = u'Is mandatory course (not elective)', 77 required = True, 78 default = True 79 )
Note: See TracChangeset for help on using the changeset viewer.