Ignore:
Timestamp:
12 Mar 2012, 11:40:52 (13 years ago)
Author:
Henrik Bettermann
Message:

Move large dictionaries to custom package.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.custom/trunk/src/waeup/custom/students/utils.py

    r7822 r7845  
    9191        return d
    9292
    93     def getVerdictsDict(self):
    94         """Provide a dictionary of verdicts.
    95         """
    96         return {
    97             '0': 'not yet',
    98             'A': 'Successful student',
    99             'B': 'Student with carryover courses',
    100             'C': 'Student on probation',
    101             'D': 'Withdrawn from the faculty',
    102             'E': 'Student who were previously on probation',
    103             'F': 'Medical case',
    104             'G': 'Absent from examination',
    105             }
    106 
     93    VERDICTS_DICT = {
     94        '0': 'not yet',
     95        'A': 'Successful student',
     96        'B': 'Student with carryover courses',
     97        'C': 'Student on probation',
     98        'D': 'Withdrawn from the faculty',
     99        'E': 'Student who were previously on probation',
     100        'F': 'Medical case',
     101        'G': 'Absent from examination',
     102        'H': 'Withheld results',
     103        'I': 'Expelled/rusticated/suspended student',
     104        'J': 'Temporary withdrawn from the university',
     105        'K': 'Unregistered student',
     106        'L': 'Referred student',
     107        'M': 'Reinstatement',
     108        'N': 'Student on transfer',
     109        'O': 'NCE-III repeater',
     110        'Y': 'No previous verdict',
     111        'X': 'New 300 level student',
     112        'Z': 'Successful student (provisional)',
     113        'A1': 'First Class',
     114        'A2': 'Second Class Upper',
     115        'A3': 'Second Class Lower',
     116        'A4': 'Third Class',
     117        'A5': 'Pass',
     118        'A6': 'Distinction',
     119        'A7': 'Credit',
     120        'A8': 'Merit',
     121        }
Note: See TracChangeset for help on using the changeset viewer.