Changeset 2576 for WAeUP_SRP/base/skins/waeup_student
- Timestamp:
- 8 Nov 2007, 07:55:07 (17 years ago)
- Location:
- WAeUP_SRP/base/skins/waeup_student
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SRP/base/skins/waeup_student/admitStudents.py
r2575 r2576 23 23 24 24 entry_session = '07' 25 pin_password = False 25 26 26 27 import logging … … 56 57 brain = aq_applicants(Eq('reg_no',reg_no))[0] 57 58 #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) 59 60 if sid is not None: 60 61 d['reg_no'] = reg_no … … 63 64 admitted += 1 64 65 else: 65 logger.info("could not create 66 logger.info("could not create objects of student %s with pin " % (reg_no,brain.pin)) 66 67 67 68 msg = "finished admitting %d students" % (admitted) -
WAeUP_SRP/base/skins/waeup_student/check_admission.py
r2407 r2576 22 22 pr = context.portal_registration 23 23 24 res,psm,ds = lt.renderLayout('student_application _fe',24 res,psm,ds = lt.renderLayout('student_application', 25 25 'student_application', 26 26 context,
Note: See TracChangeset for help on using the changeset viewer.