Ignore:
Timestamp:
8 Nov 2007, 07:55:07 (17 years ago)
Author:
Henrik Bettermann
Message:

Uebergabe an Joachim, darf noch nicht ausgecheckt werden

Location:
WAeUP_SRP/base/skins/waeup_student
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • WAeUP_SRP/base/skins/waeup_student/admitStudents.py

    r2575 r2576  
    2323
    2424entry_session = '07'
     25pin_password = False
    2526
    2627import logging
     
    5657    brain = aq_applicants(Eq('reg_no',reg_no))[0]
    5758    #logger.info("start creating  objects of student %s" % (brain.reg_no))
    58     sid = d['student_id'] = context.waeup_tool.admitOneStudent(brain,entry_session)
     59    sid = d['student_id'] = context.waeup_tool.admitOneStudent(brain,entry_session,pin_password)
    5960    if sid is not None:
    6061        d['reg_no'] = reg_no
     
    6364        admitted += 1
    6465    else:
    65         logger.info("could not create  objects of student %s with pin " % (reg_no,brain.pin))
     66        logger.info("could not create objects of student %s with pin " % (reg_no,brain.pin))
    6667
    6768msg = "finished admitting %d students" % (admitted)
  • WAeUP_SRP/base/skins/waeup_student/check_admission.py

    r2407 r2576  
    2222pr = context.portal_registration
    2323
    24 res,psm,ds = lt.renderLayout('student_application_fe',
     24res,psm,ds = lt.renderLayout('student_application',
    2525                             'student_application',
    2626                             context,
Note: See TracChangeset for help on using the changeset viewer.