- Timestamp:
- 1 Jul 2012, 12:31:04 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/kofacustom.nigeria/trunk/src/kofacustom/nigeria/students/studycourse.py
r8862 r8863 27 27 from waeup.kofa.students.workflow import CLEARED, RETURNING, PAID 28 28 from kofacustom.nigeria.students.interfaces import ( 29 I CustomStudentStudyCourse, IStudentNavigation)29 INigeriaStudentStudyCourse, IStudentNavigation) 30 30 31 class CustomStudentStudyCourse(StudentStudyCourse):31 class NigeriaStudentStudyCourse(StudentStudyCourse): 32 32 """This is a container for study levels. 33 33 """ 34 34 35 grok.implements(I CustomStudentStudyCourse, IStudentNavigation)36 grok.provides(I CustomStudentStudyCourse)35 grok.implements(INigeriaStudentStudyCourse, IStudentNavigation) 36 grok.provides(INigeriaStudentStudyCourse) 37 37 38 38 @property … … 60 60 return False 61 61 62 CustomStudentStudyCourse = attrs_to_fields(CustomStudentStudyCourse)62 NigeriaStudentStudyCourse = attrs_to_fields(NigeriaStudentStudyCourse) 63 63 64 class CustomStudentStudyCourseFactory(StudentStudyCourseFactory):64 class NigeriaStudentStudyCourseFactory(StudentStudyCourseFactory): 65 65 """A factory for student study courses. 66 66 """ 67 67 68 68 def __call__(self, *args, **kw): 69 return CustomStudentStudyCourse()69 return NigeriaStudentStudyCourse() 70 70 71 71 def getInterfaces(self): 72 return implementedBy( CustomStudentStudyCourse)72 return implementedBy(NigeriaStudentStudyCourse)
Note: See TracChangeset for help on using the changeset viewer.