Changeset 4742 for waeup/branches/ulif-layout
- Timestamp:
- 8 Jan 2010, 13:47:10 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
waeup/branches/ulif-layout/src/waeup/app.py
r4703 r4742 31 31 self.faculties.__parent__ = self 32 32 self.faculties.__name__ = 'faculties' 33 self.users = UserContainer() 34 self.users.__parent__ = self 35 self.users.__name__ = 'users' 36 self.datacenter = DataCenter() 37 self.datacenter.__parent__ = self 38 self.datacenter.__name__ = 'datacenter' 39 33 self['users'] = UserContainer() 34 self['datacenter'] = DataCenter() 35 40 36 def traverse(self, name): 41 37 # If someone requests a subobject 'faculties', we return our … … 48 44 return self.students 49 45 elif name == 'users': 50 return self .users46 return self['users'] 51 47 elif name == 'datacenter': 52 return self .datacenter48 return self['datacenter'] 53 49 return None
Note: See TracChangeset for help on using the changeset viewer.