Changeset 7778 for main/waeup.sirp/branches
- Timestamp:
- 7 Mar 2012, 17:57:12 (13 years ago)
- Location:
- main/waeup.sirp/branches/ulif-schoolgrades/src/waeup/sirp
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.sirp/branches/ulif-schoolgrades/src/waeup/sirp/applicants/applicant.py
r7774 r7778 23 23 from zope.component.interfaces import IFactory 24 24 from zope.event import notify 25 from zope.schema.fieldproperty import FieldProperty26 25 from zope.securitypolicy.interfaces import IPrincipalRoleManager 27 26 from zope.interface import implementedBy … … 32 31 from waeup.sirp.interfaces import ( 33 32 IObjectHistory, IFileStoreHandler, IFileStoreNameChooser, ISIRPUtils, 34 IExtFileStore, IPDF, IUserAccount , IResultEntry)33 IExtFileStore, IPDF, IUserAccount) 35 34 from waeup.sirp.students.vocabularies import RegNumNotInSource 36 35 from waeup.sirp.utils.helpers import attrs_to_fields 37 36 from waeup.sirp.applicants.interfaces import IApplicant, IApplicantEdit 38 37 from waeup.sirp.applicants.workflow import application_states_dict 39 40 class ResultEntry(grok.Model):41 grok.implements(IResultEntry)42 subject = FieldProperty(IResultEntry['subject'])43 grade = FieldProperty(IResultEntry['grade'])44 38 45 39 class Applicant(grok.Container): -
main/waeup.sirp/branches/ulif-schoolgrades/src/waeup/sirp/widgets/objectwidget.py
r7769 r7778 78 78 from zope.formlib.interfaces import IInputWidget 79 79 from zope.publisher.interfaces.browser import IBrowserRequest 80 from waeup.sirp. applicants.applicantimport ResultEntry80 from waeup.sirp.schoolgrades import ResultEntry 81 81 from waeup.sirp.schema.interfaces import IMultiValObject 82 82
Note: See TracChangeset for help on using the changeset viewer.