Ignore:
Timestamp:
23 May 2012, 21:27:57 (12 years ago)
Author:
Henrik Bettermann
Message:

Use LGA source instead of vocabulary to catch LookupErrors? when LGA tuple has been changed.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.fceokene/trunk/src/waeup/fceokene/applicants/interfaces.py

    r8460 r8504  
    2828from waeup.kofa.students.vocabularies import nats_vocab
    2929from waeup.fceokene.interfaces import (
    30     lgas_vocab, high_qual, high_grade, exam_types)
     30    LGASource, high_qual, high_grade, exam_types)
    3131from waeup.fceokene.interfaces import MessageFactory as _
    3232from waeup.fceokene.payments.interfaces import ICustomOnlinePayment
     
    4343        )
    4444    lga = schema.Choice(
    45         source = lgas_vocab,
     45        source = LGASource(),
    4646        title = _(u'State/LGA (Nigerians only)'),
    4747        required = False,
     
    6666        )
    6767    lga = schema.Choice(
    68         source = lgas_vocab,
     68        source = LGASource(),
    6969        title = _(u'State/LGA (Nigerians only)'),
    7070        required = False,
     
    138138        )
    139139    nysc_lga = schema.Choice(
    140         source = lgas_vocab,
     140        source = LGASource(),
    141141        title = _(u'Nysc Location'),
    142142        required = False,
Note: See TracChangeset for help on using the changeset viewer.