Changeset 8577


Ignore:
Timestamp:
31 May 2012, 16:54:15 (12 years ago)
Author:
Henrik Bettermann
Message:

Add screening_date textline field.

Location:
main/waeup.uniben/trunk/src/waeup/uniben/applicants
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.uniben/trunk/src/waeup/uniben/applicants/interfaces.py

    r8559 r8577  
    3838UG_OMIT_MANAGE_FIELDS = ()
    3939UG_OMIT_EDIT_FIELDS = UG_OMIT_MANAGE_FIELDS + ('locked', 'course_admitted',
    40     'student_id', 'screening_score', 'screening_venue', 'notice')
     40    'student_id', 'screening_score', 'screening_venue', 'notice',
     41    'screening_date')
    4142PUTME_OMIT_EDIT_FIELDS = UG_OMIT_EDIT_FIELDS + (
    4243    'firstname', 'middlename', 'lastname', 'sex',
     
    9697    screening_venue = schema.TextLine(
    9798        title = _(u'Screening Venue'),
     99        required = False,
     100        )
     101    screening_date = schema.TextLine(
     102        title = _(u'Screening Date'),
    98103        required = False,
    99104        )
  • main/waeup.uniben/trunk/src/waeup/uniben/applicants/tests.py

    r8535 r8577  
    257257            'nationality,notice,nysc_lga,'
    258258            'nysc_year,password,perm_address,phone,pp_school,presently_inst,'
    259             'reg_number,screening_score,screening_venue,sex,state,student_id,'
     259            'reg_number,screening_date,screening_score,screening_venue,sex,state,student_id,'
    260260            'container_code'
    261261            in result)
     
    263263            'Application initialized by system\'],,,,,,,,,Tester,,0,M.,,'
    264264            '"Some notice\nin lines.",,,any password,,+234-123-12345,,,'
    265             '123456,98,Exam Room,f,initialized,,dp2011' in result)
    266         return
     265            '123456,,98,Exam Room,f,initialized,,dp2011' in result)
     266        return
Note: See TracChangeset for help on using the changeset viewer.