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 | |
---|
1 | import grok |
---|
2 | from waeup.basecontainer import BaseContainer |
---|
3 | from waeup.interfaces import IFacultyContainer |
---|
4 | from interfaces import IFaculty |
---|
5 | from faculty import Faculty |
---|
6 | |
---|
7 | class FacultyContainer(BaseContainer): |
---|
8 | |
---|
9 | grok.implements(IFacultyContainer) |
---|
10 | |
---|
11 | name = u'Faculties' |
---|
12 | childClass = Faculty |
---|
13 | |
---|
14 | grok.global_utility(FacultyContainer, provides=IFacultyContainer) |
---|
Note: See
TracBrowser for help on using the repository browser.