Changeset 7062 for main/waeup.sirp/trunk/src
- Timestamp:
- 9 Nov 2011, 15:32:53 (13 years ago)
- Location:
- main/waeup.sirp/trunk/src/waeup/sirp/students
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.sirp/trunk/src/waeup/sirp/students/catalog.py
r6818 r7062 23 23 state = index.Field(attribute='state') 24 24 certificate = index.Field(attribute='certificate') 25 current_session = index.Field(attribute='current_session') 25 26 26 27 class StudentQueryResultItem(object): -
main/waeup.sirp/trunk/src/waeup/sirp/students/interfaces.py
r7014 r7062 91 91 """Representation of student base data. 92 92 """ 93 history = Attribute('Object history, a list of messages .')93 history = Attribute('Object history, a list of messages') 94 94 state = Attribute('Returns the registration state of a student') 95 95 password = Attribute('Encrypted password of a student') 96 96 certificate = Attribute('The certificate of any chosen study course') 97 current_session = Attribute('The current session of the student') 97 98 98 99 def loggerInfo(ob_class, comment): -
main/waeup.sirp/trunk/src/waeup/sirp/students/student.py
r6859 r7062 75 75 return cert 76 76 77 @property 78 def current_session(self): 79 cert = getattr(self.get('studycourse', None), 'current_session', None) 80 return cert 81 77 82 # Set all attributes of Student required in IStudent as field 78 83 # properties. Doing this, we do not have to set initial attributes
Note: See TracChangeset for help on using the changeset viewer.