Changeset 3043 for WAeUP_SRP/base/skins/waeup_accommodation/change_bed.py
- Timestamp:
- 24 Jan 2008, 18:02:36 (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SRP/base/skins/waeup_accommodation/change_bed.py
r2454 r3043 44 44 return redirect("%s/%s/%s" % (students.absolute_url(),student,info['acco_id'])) 45 45 logger.info('Bed status %s of %s has changed to %s' % (allocated_bed.bed_type,student_id,status)) 46 beds.modifyRecord(bed=allocated_bed.bed,student= '')46 beds.modifyRecord(bed=allocated_bed.bed,student=beds.not_occupied) 47 47 logger.info('Bed %s released' % (allocated_bed.bed)) 48 48 code,bed = beds.searchAndReserveBed(student_id,status)
Note: See TracChangeset for help on using the changeset viewer.