- Timestamp:
- 30 May 2011, 13:28:16 (14 years ago)
- Location:
- main/waeup.sirp/trunk/src/waeup/sirp/applicants
- Files:
-
- 1 added
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.sirp/trunk/src/waeup/sirp/applicants/interfaces.py
r6248 r6249 38 38 from waeup.sirp.interfaces import IWAeUPObject, SimpleWAeUPVocabulary 39 39 from waeup.sirp.university.vocabularies import application_categories 40 from waeup.sirp.applicants.lgas import LGAS 40 41 41 42 … … 73 74 application_pins_vocab = SimpleWAeUPVocabulary( 74 75 *[(u"%s (%s)" % (x[2],x[0]),x[2]) for x in APPLICATION_TYPES]) 76 lgas_vocab = SimpleWAeUPVocabulary( 77 *sorted([(x[1],x[0]) for x in LGAS])) 75 78 76 79 class CertificateSource(BasicContextualSourceFactory): … … 383 386 required = False, 384 387 ) 385 lga = schema. TextLine(386 # XXX: should be choice388 lga = schema.Choice( 389 source = lgas_vocab, 387 390 title = u'State/LGA', 388 391 required = False,
Note: See TracChangeset for help on using the changeset viewer.