Ignore:
Timestamp:
21 Sep 2011, 16:44:12 (13 years ago)
Author:
uli
Message:

Make student certificates better accessible, for instance by catalog.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.sirp/trunk/src/waeup/sirp/students/student.py

    r6769 r6814  
    6666        return self
    6767
     68    @property
     69    def certificate(self):
     70        cert = getattr(self.get('studycourse', None), 'certificate', None)
     71        return cert
     72
    6873# Set all attributes of Student required in IStudent as field
    6974# properties. Doing this, we do not have to set initial attributes
Note: See TracChangeset for help on using the changeset viewer.