Changeset 7787 for main/waeup.sirp
- Timestamp:
- 7 Mar 2012, 23:12:39 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.sirp/branches/ulif-schoolgrades/src/waeup/sirp/applicants/interfaces.py
r7773 r7787 34 34 SubjectSource, GradeSource, IResultEntry) 35 35 from waeup.sirp.interfaces import MessageFactory as _ 36 from waeup.sirp.schoolgrades import ResultEntryField 36 37 from waeup.sirp.university.vocabularies import ( 37 38 course_levels, AppCatSource) … … 435 436 school_grades = schema.List( 436 437 title = _(u'School Grades'), 437 value_type = MultiValObject( 438 schema = IResultEntry), 439 #value_type = schema.Object( 440 # schema = IResultEntry), 438 value_type = ResultEntryField(), 441 439 required = True, 442 440 default = [], 443 441 ) 444 #school_grades = schema.Dict(445 # title = _(u'School Grades'),446 # key_type = schema.TextLine(447 # title = _(u'Subject'),448 # ),449 # value_type = schema.TextLine(450 # title = _(u'Grade'),451 # )452 # )453 442 454 443 #
Note: See TracChangeset for help on using the changeset viewer.