Ignore:
Timestamp:
7 Mar 2012, 17:57:12 (13 years ago)
Author:
uli
Message:

Move ResultEntry? to more general location for use by several submodules.

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  
    2323from zope.component.interfaces import IFactory
    2424from zope.event import notify
    25 from zope.schema.fieldproperty import FieldProperty
    2625from zope.securitypolicy.interfaces import IPrincipalRoleManager
    2726from zope.interface import implementedBy
     
    3231from waeup.sirp.interfaces import (
    3332    IObjectHistory, IFileStoreHandler, IFileStoreNameChooser, ISIRPUtils,
    34     IExtFileStore, IPDF, IUserAccount, IResultEntry)
     33    IExtFileStore, IPDF, IUserAccount)
    3534from waeup.sirp.students.vocabularies import RegNumNotInSource
    3635from waeup.sirp.utils.helpers import attrs_to_fields
    3736from waeup.sirp.applicants.interfaces import IApplicant, IApplicantEdit
    3837from 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'])
    4438
    4539class Applicant(grok.Container):
  • main/waeup.sirp/branches/ulif-schoolgrades/src/waeup/sirp/widgets/objectwidget.py

    r7769 r7778  
    7878from zope.formlib.interfaces import IInputWidget
    7979from zope.publisher.interfaces.browser import IBrowserRequest
    80 from waeup.sirp.applicants.applicant import ResultEntry
     80from waeup.sirp.schoolgrades import ResultEntry
    8181from waeup.sirp.schema.interfaces import IMultiValObject
    8282
Note: See TracChangeset for help on using the changeset viewer.