- Timestamp:
- 13 Mar 2012, 07:16:03 (13 years ago)
- Location:
- main/waeup.custom/trunk/src/waeup/custom/applicants
- Files:
-
- 2 added
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.custom/trunk/src/waeup/custom/applicants/applicant.py
r7853 r7866 19 19 import grok 20 20 from zope.interface import implementedBy 21 from waeup.kofa.applicants.interfaces import IApplicantEdit22 21 from waeup.kofa.applicants.applicant import Applicant, ApplicantFactory 23 from waeup.custom.applicants.interfaces import IPGApplicant 22 from waeup.custom.applicants.interfaces import IPGApplicant, IPGApplicantEdit 24 23 25 24 class PGApplicant(Applicant): 26 grok.implements(IPGApplicant,I ApplicantEdit)25 grok.implements(IPGApplicant,IPGApplicantEdit) 27 26 grok.provides(IPGApplicant) 28 27 -
main/waeup.custom/trunk/src/waeup/custom/applicants/interfaces.py
r7853 r7866 19 19 """ 20 20 21 from waeup.kofa.applicants.interfaces import IApplicant 21 from waeup.kofa.applicants.interfaces import IApplicant, IApplicantEdit 22 22 23 23 class IPGApplicant(IApplicant): … … 25 25 26 26 """ 27 28 class IPGApplicantEdit(IApplicantEdit): 29 """A postgraduate applicant interface for editing. 30 31 Here we can repeat the fields from base data and set the 32 `required` and `readonly` attributes to True to further restrict 33 the data access. Or we can allow only certain certificates to be 34 selected by choosing the appropriate source. 35 36 We cannot omit fields here. This has to be done in the 37 respective form page. 38 """
Note: See TracChangeset for help on using the changeset viewer.