Changeset 15008 for main


Ignore:
Timestamp:
14 May 2018, 16:57:50 (6 years ago)
Author:
Henrik Bettermann
Message:

Change prefix.

Customize GPABoundaries.

File:
1 edited

Legend:

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

    r15000 r15008  
    2828    """
    2929
    30     # refix
    31     STUDENT_ID_PREFIX = u'X'
     30    # prefix
     31    STUDENT_ID_PREFIX = u'U'
     32
     33    def GPABoundaries(self, faccode=None, depcode=None, certcode=None):
     34        return ((1, 'Fail'),
     35               (1.5, 'Pass'),
     36               (2.4, '3rd Class'),
     37               (3.5, '2nd Class Lower'),
     38               (4.5, '2nd Class Upper'),
     39               (5, '1st Class'))
Note: See TracChangeset for help on using the changeset viewer.