Changeset 3912
- Timestamp:
- 6 Feb 2009, 22:39:33 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
waeup/branches/ulif-rewrite/src/waeup/university/facultycontainer.py
r3910 r3912 1 1 import grok 2 from zope.component import getUtility , getMultiAdapter2 from zope.component import getUtility 3 3 from zope.component.interfaces import Invalid 4 4 from zope.exceptions import DuplicationError 5 from waeup.basecontainer import BaseContainer 6 from waeup.interfaces import IFacultyContainer 5 from waeup.interfaces import IFacultyContainer, IFaculty 7 6 from waeup.viewlets import MainArea, LeftSidebar, Index, Add, FormWrapMixin 8 from interfaces import IFaculty 9 from faculty import Faculty 10 11 from zope.schema import ValidationError 7 from waeup.university.faculty import Faculty 12 8 13 9 class FacultyContainer(grok.Container): 14 10 """See interfaces for description. 11 """ 12 15 13 grok.implements(IFacultyContainer) 16 14 grok.require('waeup.manageUniversity') … … 36 34 grok.global_utility(FacultyContainer, provides=IFacultyContainer) 37 35 36 # 37 # Viewing / Layout stuff... 38 # 38 39 class Content(grok.Viewlet): 39 40 grok.viewletmanager(MainArea)
Note: See TracChangeset for help on using the changeset viewer.