Changeset 7774
- Timestamp:
- 7 Mar 2012, 10:07:04 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.sirp/branches/ulif-schoolgrades/src/waeup/sirp/applicants/applicant.py
r7761 r7774 23 23 from zope.component.interfaces import IFactory 24 24 from zope.event import notify 25 from zope.schema.fieldproperty import FieldProperty 25 26 from zope.securitypolicy.interfaces import IPrincipalRoleManager 26 27 from zope.interface import implementedBy … … 31 32 from waeup.sirp.interfaces import ( 32 33 IObjectHistory, IFileStoreHandler, IFileStoreNameChooser, ISIRPUtils, 33 IExtFileStore, IPDF, IUserAccount )34 IExtFileStore, IPDF, IUserAccount, IResultEntry) 34 35 from waeup.sirp.students.vocabularies import RegNumNotInSource 35 36 from waeup.sirp.utils.helpers import attrs_to_fields … … 37 38 from waeup.sirp.applicants.workflow import application_states_dict 38 39 39 from waeup.sirp.applicants.interfaces import IResultEntry40 from zope.schema.fieldproperty import FieldProperty41 40 class ResultEntry(grok.Model): 42 41 grok.implements(IResultEntry) 43 42 subject = FieldProperty(IResultEntry['subject']) 44 43 grade = FieldProperty(IResultEntry['grade']) 45 46 #def __init__(self, subject=None, grade=None):47 # self.subject = subject48 # self.grade = grade49 44 50 45 class Applicant(grok.Container):
Note: See TracChangeset for help on using the changeset viewer.