Changeset 3049
- Timestamp:
- 25 Jan 2008, 15:38:48 (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SRP/base/skins/waeup_accommodation/release_bed.py
r3044 r3049 40 40 if len(res) == 0: 41 41 logger.info('no bed of %s found' % (student_id)) 42 re direct("%s/%s" % (students.absolute_url(),student_id))42 return redirect("%s/%s" % (students.absolute_url(),student_id)) 43 43 allocated_bed = res[0] 44 44 acco_cat.modifyRecord(bed=allocated_bed.bed,student=acco_cat.not_occupied) … … 46 46 acco_doc.edit(mapping={'bed':"-- cancelled by section officer --"}) 47 47 logger.info('%s released bed of %s' % (member_id,student_id)) 48 re direct("%s" % (context.absolute_url()))48 return redirect("%s" % (context.absolute_url())) 49 49
Note: See TracChangeset for help on using the changeset viewer.