Changeset 5562
- Timestamp:
- 6 Oct 2010, 12:58:35 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SRP/trunk/skins/waeup_student/admitStudents.py
r3681 r5562 5 5 ##bind script=script 6 6 ##bind subpath=traverse_subpath 7 ##parameters= 7 ##parameters=entry_session='' 8 8 ##title= 9 9 ## … … 22 22 return 23 23 24 entry_session = '07' # is been overwritten in admitOneStudent25 24 pin_password = False 26 25 … … 38 37 response.write("%s<br>\n\r" % s) 39 38 40 brains = aq_applicants(In('status',('admitted'),)) 39 if not entry_session: 40 entry_session = context.getSessionId()[0] 41 42 brains = aq_applicants(In('status',('admitted'),) , Eq('entry_session',entry_session)) 41 43 total = len(brains) 42 44 logger.info("found %d students" % (total))
Note: See TracChangeset for help on using the changeset viewer.