Changeset 5070
- Timestamp:
- 23 Mar 2010, 14:32:42 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.sirp/trunk/src/waeup/sirp/university/facultycontainer.py
r5014 r5070 44 44 45 45 class AcademicsPlugin(grok.GlobalUtility): 46 """A plugin that tells universities how to create a faculty container.46 """A plugin that creates a faculty container inside a university. 47 47 """ 48 48 grok.implements(IWAeUPSIRPPluggable) 49 grok.name('faculties') 49 50 50 factory_name = u'waeup.FacultyContainer' 51 name = 'faculties' 51 def setup(self, site, name, logger): 52 if 'faculties' in site.keys(): 53 logger.warn('Could not create faculty container in WAeUP SIRP.') 54 return 55 site['faculties'] = FacultyContainer() 56 logger.info('Created faculty container for University') 57 return 52 58 59 def update(self, site, name, logger): 60 pass
Note: See TracChangeset for help on using the changeset viewer.