Changeset 5681


Ignore:
Timestamp:
25 Jan 2011, 16:34:31 (14 years ago)
Author:
uli
Message:

Add application categories and a respective vocabulary.

File:
1 edited

Legend:

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

    r5676 r5681  
    2323"""
    2424from zope import schema
    25 from waeup.sirp.interfaces import IWAeUPObject
     25from waeup.sirp.interfaces import IWAeUPObject, SimpleWAeUPVocabulary
     26
     27#: Categories of applications we support.
     28#: Yet not complete nor correct.
     29APPLICATION_CATEGORIES = (
     30    ('Direct Entry Screening Exam (PDE)', 'pde'),
     31    ('Post-UME', 'pume'),
     32    ('Post-UDE', 'pude'),
     33    ('PCE', 'pce'),
     34    ('Common Entry Screening Test (CEST)', 'cest'),
     35    )
     36
     37#: A :class:`waeup.sirp.interfaces.SimpleWAeUPVocabulary` of supported
     38#: application categories.
     39application_categories_vocab = SimpleWAeUPVocabulary(*APPLICATION_CATEGORIES)
    2640
    2741class IApplicantsRoot(IWAeUPObject):
Note: See TracChangeset for help on using the changeset viewer.