Changeset 2451 for WAeUP_SRP/base/skins/waeup_student
- Timestamp:
- 27 Oct 2007, 14:26:41 (17 years ago)
- Location:
- WAeUP_SRP/base/skins/waeup_student
- Files:
-
- 1 added
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SRP/base/skins/waeup_student/add_course_result.py
r2448 r2451 71 71 d['student_id'] = student_id = context.getStudentId() 72 72 d['level_id'] = level_id = context.getId() 73 d['session_id'] = context.session 73 session_id = context.getLevelSession(context.getContent(),student_id,level_id) 74 d['session_id'] = session_id 74 75 d['key'] = "%s|%s|%s" % (student_id,level_id,course_id) 75 76 -
WAeUP_SRP/base/skins/waeup_student/getLevelSession.py
r2439 r2451 12 12 return fixed session_id from level 13 13 """ 14 import logging 15 logger = logging.getLogger('Skins.getLevelSession') 14 16 session_id = level_doc.session 15 17 changed = False -
WAeUP_SRP/base/skins/waeup_student/getStudyLevelInfo.py
r2448 r2451 32 32 course_results = context.course_results 33 33 request = context.REQUEST 34 #session = request.SESSION35 34 response = request.RESPONSE 36 35 import logging … … 110 109 111 110 return info 112
Note: See TracChangeset for help on using the changeset viewer.