Changeset 9635 for main/waeup.uniben


Ignore:
Timestamp:
15 Nov 2012, 13:02:52 (12 years ago)
Author:
Henrik Bettermann
Message:

Customize APP_CATS_DICT and APP_TYPES_DICT.

Location:
main/waeup.uniben/trunk/src/waeup/uniben
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.uniben/trunk/src/waeup/uniben/applicants/utils.py

    r8828 r9635  
    3030    """
    3131
     32    APP_TYPES_DICT = {
     33        'pude': ['Post-UDE Screening', 'PUDE'],
     34        'prence': ['Pre-NCE Programme', 'PRE'],
     35        'sandwich': ['Part-Time Degree in Education', 'SAND'],
     36        'pt': ['Part-Time Degree Programmes', 'PTP'],
     37        'putme': ['Post-UTME Screening Exercise', 'PUTME'],
     38        'app': ['General Studies', 'APP'],
     39        'cest': ['Common Entry Screening Test', 'CEST'],
     40        'ct': ['Certificate Programmes', 'CTP'],
     41        'dp': ['Diploma Programmes', 'DPP'],
     42        'dpft': ['Diploma Full-Time Programmes', 'DPP'],
     43        'pce': ['PCE Screening', 'PCE'],
     44        'pgft': ['Postgraduate Full-Time Programmes', 'PG'],
     45        'pgpt': ['Postgraduate Part-Time Programmes', 'PG'],
     46        'pgnew': ['New Postgraduate Programmes', 'NEWPG']
     47        }
     48
     49
    3250    # Temporarily disabled
    3351    def xxx_getApplicantsStatistics(self, container):
  • main/waeup.uniben/trunk/src/waeup/uniben/utils/utils.py

    r8821 r9635  
    2626    PREFERRED_LANGUAGES_DICT = {
    2727        }
     28
     29    APP_CATS_DICT = {
     30        'basic': 'PUTME, PUDE, PCE, PRENCE',
     31        'no': 'No Application',
     32        'pg_ft': 'Postgraduate Full-Time',
     33        'pg_pt': 'Postgraduate Part-Time',
     34        'sandwich': 'Sandwich',
     35        'cest': 'Part-Time, Diploma, Certificate',
     36        'pg_new': 'New Postgraduate Programmes',
     37        'dp_ft': 'Diploma Full-Time Programmes',
     38        }
Note: See TracChangeset for help on using the changeset viewer.