Ignore:
Timestamp:
9 Jul 2019, 06:09:29 (5 years ago)
Author:
Henrik Bettermann
Message:

Add disabilites field.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/kofacustom.nigeria/trunk/src/kofacustom/nigeria/interfaces.py

    r15046 r15489  
    2222from zc.sourcefactory.basic import BasicSourceFactory
    2323from waeup.kofa.interfaces import (SimpleKofaVocabulary,
    24     ISessionConfiguration, academic_sessions_vocab)
     24    ISessionConfiguration, academic_sessions_vocab,
     25    ContextualDictSourceFactoryBase)
    2526from kofacustom.nigeria.utils.lgas import LGAS
    2627
     
    107108            _('Invalid key: ${a}', mapping = {'a':value}))
    108109
     110class DisabilitiesSource(ContextualDictSourceFactoryBase):
     111    """A source for filtering groups of students
     112    """
     113    #: name of dict to deliver from kofa utils.
     114    DICT_NAME = 'DISABILITIES_DICT'
     115
     116
    109117class ICustomSessionConfiguration(ISessionConfiguration):
    110118    """A session configuration object.
Note: See TracChangeset for help on using the changeset viewer.