- Timestamp:
- 19 May 2011, 19:40:10 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.sirp/trunk/src/waeup/sirp/university/department.py
r5988 r6152 13 13 grok.implements(IDepartment, IDepartmentAdd) 14 14 15 @property # Make this method read_only and looking like an attr. 16 def local_roles(cls): 17 return [ 18 {'name':'waeup.local.DepartmentOfficer', 19 'title':'Department Officer'}, 20 ] 21 15 22 # A simple counter for ids. 16 23 next_id = 0L 17 24 18 25 def __init__(self, 19 26 title=u'Unnamed Department',
Note: See TracChangeset for help on using the changeset viewer.