Ignore:
Timestamp:
4 Mar 2020, 21:38:26 (5 years ago)
Author:
Henrik Bettermann
Message:

Add grade and total_score to exporter fields.

Location:
main/waeup.aaue/trunk/src/waeup/aaue/students
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.aaue/trunk/src/waeup/aaue/students/export.py

    r15471 r16023  
    6969    fields = tuple(sorted(iface_names(ICustomCourseTicket) +
    7070        ['level', 'code', 'level_session'])) + ('student_id',
    71         'certcode', 'display_fullname', 'matric_number', 'state')
     71        'certcode', 'display_fullname', 'matric_number', 'state', 'grade',
     72        'total_score')
    7273
    7374    def mangle_value(self, value, name, context=None):
  • main/waeup.aaue/trunk/src/waeup/aaue/students/tests/test_export.py

    r15742 r16023  
    194194            'automatic,ca,carry_over,code,course_category,credits,dcode,fcode,imported_ts,level,level_session,'
    195195            'mandatory,outstanding,passmark,score,semester,ticket_session,title,student_id,certcode,'
    196             'display_fullname,matric_number,state\r\n'
     196            'display_fullname,matric_number,state,grade,total_score\r\n'
    197197            '1,,1,CRS1,,100,DEP1,FAC1,,100,2012,0,0,100,,2,,Course 1,A111111,CERT1,'
    198             '"TESTER, Anna M.",234,created\r\n'
     198            '"TESTER, Anna M.",234,created,,\r\n'
    199199            )
    200200        return
Note: See TracChangeset for help on using the changeset viewer.