Changeset 3930 for waeup/branches/ulif-rewrite/src/waeup
- Timestamp:
- 7 Feb 2009, 13:56:28 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
waeup/branches/ulif-rewrite/src/waeup/app.py
r3928 r3930 21 21 self["students"] = getUtility(IStudentContainer) 22 22 self["hostels"] = getUtility(IHostelContainer) 23 self ["faculties"]= getUtility(IFacultyContainer)23 self.faculties = getUtility(IFacultyContainer) 24 24 25 def traverse(self, name): 26 # If someone requests a subobject 'faculties', we return our 27 # `faculties` attribute. 28 if name == 'faculties': 29 return self.faculties 30 return None 25 31 26 32
Note: See TracChangeset for help on using the changeset viewer.