Changeset 14720 for main


Ignore:
Timestamp:
12 Jul 2017, 11:46:55 (7 years ago)
Author:
Henrik Bettermann
Message:

Customize APP_CATS_DICT and STUDY_MODES_DICT.

Set student id prefix 'P'.

Location:
main/kofacustom.dspg/trunk/src/kofacustom/dspg
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • main/kofacustom.dspg/trunk/src/kofacustom/dspg/students/utils.py

    r14716 r14720  
    2828    """
    2929
    30     # refix
    31     STUDENT_ID_PREFIX = u'X'
     30    # prefix
     31    STUDENT_ID_PREFIX = u'P'
  • main/kofacustom.dspg/trunk/src/kofacustom/dspg/utils/utils.py

    r10765 r14720  
    2424    """
    2525
     26    APP_CATS_DICT = {
     27        'basic': 'Basic',
     28        'ndft': 'National Diploma Full-Time Programmes',
     29        'ndpt': 'National Diploma Part-Time Programmes',
     30        'ndwe': 'National Diploma Weekend Programmes',
     31        'hndft': 'Higher National Diploma Full-Time Programmes',
     32        'hndpt': 'Higher National Diploma Part-Time Programmes',
     33        'hndwe': 'Higher National Diploma Weekend Programmes',
     34        'pgd': 'Postgraduate Diploma Programmes',
     35        'rmd': 'Remedial Programmes',
     36        'no': 'no application',
     37        }
     38
     39    STUDY_MODES_DICT = {
     40        'ug_ft': 'Undergraduate Full Time',
     41        'ug_pt': 'Undergraduate Part Time',
     42        'nd_ft': 'National Diploma Full-Time',
     43        'nd_pt': 'National Diploma Part-Time',
     44        'nd_we': 'National Diploma Weekend',
     45        'hnd_ft': 'Higher National Diploma Full-Time',
     46        'hnd_pt': 'Higher National Diploma Part-Time',
     47        'hnd_we': 'Higher National Diploma Weekend',
     48        'pgd_ft': 'Postgraduate Diploma Full-Time',
     49        'pgd_pt': 'Postgraduate Diploma Part-Time',
     50        'prend': 'Pre-ND',
     51        'rmd': 'Remedial',
     52        }
Note: See TracChangeset for help on using the changeset viewer.