Ignore:
Timestamp:
3 Jun 2021, 06:59:49 (3 years ago)
Author:
Henrik Bettermann
Message:

Add email2 and sex.

File:
1 edited

Legend:

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

    r16476 r16498  
    3434    NigeriaStudentPaymentExporter,
    3535    NigeriaDataForBursaryExporter,
     36    NigeriaTrimmedDataExporter,
    3637    )
    3738from waeup.kofa.students.export import (
     
    4748        'password', 'state', 'history', 'certcode', 'is_postgrad',
    4849        'current_level', 'current_session')
     50
     51class CustomTrimmedDataExporter(NigeriaTrimmedDataExporter):
     52    """The Student Trimmed Data Exporter first filters the set of students
     53    by searching the students catalog. Then it exports a trimmed data set
     54    of this set of students.
     55    """
     56    fields = (
     57        'student_id',
     58        'matric_number',
     59        'reg_number',
     60        'firstname',
     61        'middlename',
     62        'lastname',
     63        'sex',
     64        'email',
     65        'email2',
     66        'phone',
     67        'nationality',
     68        'date_of_birth',
     69        'state',
     70        'current_mode',
     71        'certcode',
     72        'faccode',
     73        'depcode',
     74        'current_level',
     75        'current_session',
     76        'current_verdict',
     77        'entry_session',
     78        'lg_state',
     79        'lg_area')
    4980
    5081class CustomStudentStudyCourseExporter(NigeriaStudentStudyCourseExporter):
     
    104135        'lastname', 'state', 'certcode', 'faccode', 'depcode', 'is_postgrad',
    105136        'current_level', 'current_session', 'current_mode',
    106         'entry_session', 'reg_number'
     137        'entry_session', 'reg_number', 'email2', 'sex'
    107138        ) + year_range_tuple
    108139
Note: See TracChangeset for help on using the changeset viewer.