Changeset 4703


Ignore:
Timestamp:
7 Jan 2010, 18:40:49 (15 years ago)
Author:
uli
Message:

Set parent and name of datatacenter- and users container.

This is a filthy hack that should better be done by an event handler
in the long run. For now, however, it will work.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • waeup/branches/ulif-layout/src/waeup/app.py

    r4585 r4703  
    3232        self.faculties.__name__ = 'faculties'
    3333        self.users = UserContainer()
     34        self.users.__parent__ = self
     35        self.users.__name__ = 'users'
    3436        self.datacenter = DataCenter()
     37        self.datacenter.__parent__ = self
     38        self.datacenter.__name__ = 'datacenter'
    3539
    3640    def traverse(self, name):
Note: See TracChangeset for help on using the changeset viewer.