Changeset 7523 for main/waeup.sirp/trunk
- Timestamp:
- 27 Jan 2012, 17:14:38 (13 years ago)
- Location:
- main/waeup.sirp/trunk/src/waeup/sirp/students
- Files:
-
- 1 added
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.sirp/trunk/src/waeup/sirp/students/interfaces.py
r7520 r7523 25 25 from waeup.sirp.students.vocabularies import ( 26 26 CertificateSource, verdicts, StudyLevelSource, 27 contextual_reg_num_source, contextual_mat_num_source, GenderSource, 27 contextual_reg_num_source, contextual_mat_num_source, 28 GenderSource, nats_vocab, 28 29 ) 29 30 from waeup.sirp.payments.interfaces import IPaymentsContainer, IOnlinePayment … … 204 205 ) 205 206 207 nationality = schema.Choice( 208 source = nats_vocab, 209 title = u'Nationality', 210 default = 'nigeria', 211 required = True, 212 ) 213 206 214 class IStudentPersonal(ISIRPObject): 207 215 """Representation of student personal data. -
main/waeup.sirp/trunk/src/waeup/sirp/students/vocabularies.py
r7321 r7523 27 27 from waeup.sirp.interfaces import SimpleSIRPVocabulary 28 28 from waeup.sirp.students.lgas import LGAS 29 from waeup.sirp.students.nats import NATS 29 30 from waeup.sirp.university.vocabularies import course_levels 30 31 31 32 lgas_vocab = SimpleSIRPVocabulary( 32 33 *sorted([(x[1],x[0]) for x in LGAS])) 34 35 nats_vocab = SimpleSIRPVocabulary( 36 *sorted([(x[1],x[0]) for x in NATS])) 33 37 34 38 def study_levels(studycourse):
Note: See TracChangeset for help on using the changeset viewer.