Changeset 5953
- Timestamp:
- 20 Apr 2011, 21:46:16 (14 years ago)
- Location:
- main/waeup.sirp/trunk/src/waeup/sirp/university
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.sirp/trunk/src/waeup/sirp/university/certificate.py
r5949 r5953 12 12 from zope.interface import implementedBy 13 13 from waeup.sirp.university.interfaces import ( 14 ICertificate, ICertificate Course, ICourse)14 ICertificate, ICertificateAdd, ICertificateCourse, ICourse) 15 15 16 16 class Certificate(grok.Container): 17 17 """A certificate. 18 18 """ 19 grok.implements(ICertificate )19 grok.implements(ICertificate, ICertificateAdd) 20 20 21 21 def __init__(self, code=u'NA', title=u'Unnamed Certificate', -
main/waeup.sirp/trunk/src/waeup/sirp/university/course.py
r5944 r5953 4 4 from zope.interface import implementedBy 5 5 from zope.component.interfaces import IFactory 6 from waeup.sirp.university.interfaces import ICourse 6 from waeup.sirp.university.interfaces import ICourse, ICourseAdd 7 7 8 8 class Course(grok.Model): 9 9 """A university course. 10 10 """ 11 grok.implements(ICourse )11 grok.implements(ICourse, ICourseAdd) 12 12 13 13 def __init__(self, -
main/waeup.sirp/trunk/src/waeup/sirp/university/department.py
r5005 r5953 5 5 from zope.component.interfaces import IFactory 6 6 from zope.interface import implementedBy 7 from waeup.sirp.university.interfaces import IDepartment 7 from waeup.sirp.university.interfaces import IDepartment, IDepartmentAdd 8 8 9 9 class Department(grok.Container): 10 10 """A university department. 11 11 """ 12 grok.implements(IDepartment )12 grok.implements(IDepartment, IDepartmentAdd) 13 13 14 14 # A simple counter for ids. -
main/waeup.sirp/trunk/src/waeup/sirp/university/faculty.py
r5915 r5953 5 5 from zope.component.interfaces import IFactory 6 6 from zope.interface import implementedBy 7 from waeup.sirp.university.interfaces import IFaculty, IDepartment 7 from waeup.sirp.university.interfaces import ( 8 IFaculty, IFacultyAdd, IDepartment) 8 9 9 10 class Faculty(grok.Container): 10 11 """A university faculty. 11 12 """ 12 grok.implements(IFaculty )13 grok.implements(IFaculty, IFacultyAdd) 13 14 14 15 def __init__(self,
Note: See TracChangeset for help on using the changeset viewer.