Changeset 5821 for main/waeup.sirp/trunk/src/waeup
- Timestamp:
- 9 Mar 2011, 13:43:00 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.sirp/trunk/src/waeup/sirp/applicants/container.py
r5682 r5821 24 24 """ 25 25 import grok 26 from waeup.sirp.applicants.interfaces import IApplicantsContainer 26 from waeup.sirp.applicants.interfaces import ( 27 IApplicantsContainer, IApplicantContainerProvider, 28 ) 27 29 28 30 class ApplicantsContainer(grok.Container): … … 33 35 REQUIRES_JAMBDATA = False 34 36 name = None 35 title = None36 description = None37 title = u'Simple applicant container' 38 description = u'Simple container for regular applicants' 37 39 startdate = None 38 40 enddate = None … … 78 80 """ 79 81 REQUIRES_JAMBDATA = True 82 83 class ApplicantsContainerProvider(grok.GlobalUtility): 84 """A utility that provides basic applicants containers. 85 """ 86 grok.implements(IApplicantContainerProvider) 87 grok.name('waeup.sirp.applicant.ApplicantsContainer') 88 89 factory = ApplicantsContainer
Note: See TracChangeset for help on using the changeset viewer.