- Timestamp:
- 7 May 2013, 19:12:39 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.aaua/trunk/src/waeup/aaua/students/studycourse.py
r10120 r10157 35 35 grok.provides(ICustomStudentStudyCourse) 36 36 37 @property 38 def is_postgrad(self): 39 if self.certificate is None: 40 return False 41 return self.certificate.study_mode.startswith('pg') or \ 42 self.certificate.study_mode.startswith('special_pg') 43 44 @property 45 def is_special_postgrad(self): 46 if self.certificate is None: 47 return False 48 return self.certificate.study_mode.startswith('special_pg') 49 50 37 51 CustomStudentStudyCourse = attrs_to_fields(CustomStudentStudyCourse) 38 52
Note: See TracChangeset for help on using the changeset viewer.