- Timestamp:
- 21 Sep 2013, 08:27:47 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.kofa/trunk/src/waeup/kofa/university/department.py
r10561 r10634 28 28 from waeup.kofa.utils.batching import VirtualExportJobContainer 29 29 from waeup.kofa.interfaces import IKofaUtils 30 from waeup.kofa.utils.helpers import attrs_to_fields 30 31 from waeup.kofa.university.interfaces import IDepartment, IDepartmentAdd 31 32 … … 89 90 return longtitle(self) 90 91 92 # Set all attributes of Department required in IDepartment as field 93 # properties. Doing this, we do not have to set initial attributes 94 # ourselves and as a bonus we get free validation when an attribute is 95 # set. 96 Department = attrs_to_fields(Department) 97 91 98 class DepartmentFactory(grok.GlobalUtility): 92 99 """A factory for department containers.
Note: See TracChangeset for help on using the changeset viewer.