Ignore:
Timestamp:
4 Feb 2010, 17:54:37 (15 years ago)
Author:
uli
Message:

Provide a plugin for academics stuff.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.sirp/trunk/src/waeup/sirp/university/facultycontainer.py

    r5005 r5014  
    22from zope.component.interfaces import IFactory
    33from zope.interface import implementedBy
     4from waeup.sirp.interfaces import IWAeUPSIRPPluggable
    45from waeup.sirp.university.interfaces import IFacultyContainer, IFaculty
    56
     
    4142    def getInterfaces(self):
    4243        return implementedBy(FacultyContainer)
     44
     45class AcademicsPlugin(grok.GlobalUtility):
     46    """A plugin that tells universities how to create a faculty container.
     47    """
     48    grok.implements(IWAeUPSIRPPluggable)
     49
     50    factory_name = u'waeup.FacultyContainer'
     51    name = 'faculties'
     52
Note: See TracChangeset for help on using the changeset viewer.