Ignore:
Timestamp:
1 Jan 2009, 16:43:33 (16 years ago)
Author:
uli
Message:

Make faculty container available as utility.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • waeup/branches/ulif-rewrite/src/waeup/university/facultycontainer.py

    r3527 r3828  
    11import grok
    22from waeup.basecontainer import BaseContainer
     3from waeup.interfaces import IFacultyContainer
    34from interfaces import IFaculty
    45from faculty import Faculty
    56
    67class FacultyContainer(BaseContainer):
     8
     9    grok.implements(IFacultyContainer)
    710   
    811    name = u'Faculties'
    912    childClass = Faculty
     13
     14grok.global_utility(FacultyContainer, provides=IFacultyContainer)
Note: See TracChangeset for help on using the changeset viewer.