Ignore:
Timestamp:
31 May 2012, 20:34:44 (13 years ago)
Author:
Henrik Bettermann
Message:

Update according to r8577 - r8582.

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

Legend:

Unmodified
Added
Removed
  • main/waeup.fceokene/trunk/src/waeup/fceokene/students/batching.py

    r8460 r8584  
    2525"""
    2626from waeup.fceokene.students.interfaces import (
    27     ICustomStudent,
     27    ICustomStudent, ICustomStudentUpdateByRegNo,
     28    ICustomStudentUpdateByMatricNo
    2829    )
    2930from waeup.kofa.students.batching import StudentProcessor
     
    3334    """
    3435    iface = ICustomStudent
     36    iface_byregnumber = ICustomStudentUpdateByRegNo
     37    iface_bymatricnumber = ICustomStudentUpdateByMatricNo
  • main/waeup.fceokene/trunk/src/waeup/fceokene/students/interfaces.py

    r8504 r8584  
    382382
    383383    """
     384
     385class ICustomStudentUpdateByRegNo(ICustomStudent):
     386    """Representation of a student. Skip regular reg_number validation.
     387
     388    """
     389    reg_number = schema.TextLine(
     390        title = _(u'Registration Number'),
     391        required = False,
     392        )
     393
     394class ICustomStudentUpdateByMatricNo(ICustomStudent):
     395    """Representation of a student. Skip regular matric_number validation.
     396
     397    """
     398    matric_number = schema.TextLine(
     399        title = _(u'Matriculation Number'),
     400        required = False,
     401        )
Note: See TracChangeset for help on using the changeset viewer.