source: waeup/branches/ulif-rewrite/src/waeup/university/facultycontainer.py @ 3828

Last change on this file since 3828 was 3828, checked in by uli, 16 years ago

Make faculty container available as utility.

  • Property svn:eol-style set to native
File size: 366 bytes
Line 
1import grok
2from waeup.basecontainer import BaseContainer
3from waeup.interfaces import IFacultyContainer
4from interfaces import IFaculty
5from faculty import Faculty
6
7class FacultyContainer(BaseContainer):
8
9    grok.implements(IFacultyContainer)
10   
11    name = u'Faculties'
12    childClass = Faculty
13
14grok.global_utility(FacultyContainer, provides=IFacultyContainer)
Note: See TracBrowser for help on using the repository browser.