Changeset 4084
- Timestamp:
- 25 Apr 2009, 13:48:57 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
waeup/branches/ulif-rewrite/src/waeup/app.py
r4074 r4084 3 3 from zope.app.authentication.authentication import PluggableAuthentication 4 4 from zope.app.security.interfaces import IAuthentication 5 from zope.component import getUtility, getMultiAdapter 5 from zope.component import getUtility, getMultiAdapter, createObject 6 6 from zope.interface import Interface 7 7 … … 27 27 28 28 def setup(self): 29 self.students = getUtility(IStudentContainer)30 self.hostels = getUtility(IHostelContainer)31 self.faculties = getUtility(IFacultyContainer)29 self.students = createObject(u'waeup.StudentContainer') 30 self.hostels = createObject(u'waeup.HostelContainer') 31 self.faculties = createObject(u'waeup.FacultyContainer') 32 32 33 33 def traverse(self, name):
Note: See TracChangeset for help on using the changeset viewer.