- Timestamp:
- 8 Jan 2010, 14:30:32 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
waeup/branches/ulif-layout/src/waeup/app.py
r4742 r4747 27 27 self.students = createObject(u'waeup.StudentContainer') 28 28 self.hostels = createObject(u'waeup.HostelContainer') 29 self.faculties = createObject(u'waeup.FacultyContainer') 30 # TODO: We need this to get URLs of subobjects. Can we avoid it? 31 self.faculties.__parent__ = self 32 self.faculties.__name__ = 'faculties' 29 self['faculties'] = createObject(u'waeup.FacultyContainer') 33 30 self['users'] = UserContainer() 34 31 self['datacenter'] = DataCenter() … … 38 35 # `faculties` attribute. 39 36 if name == 'faculties': 40 return self .faculties37 return self['faculties'] 41 38 elif name == 'hostels': 42 39 return self.hostels
Note: See TracChangeset for help on using the changeset viewer.