Changeset 1419 for WAeUP_SRP/trunk/skins/waeup_student
- Timestamp:
- 15 Feb 2007, 12:24:17 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SRP/trunk/skins/waeup_student/add_student.py
r1418 r1419 48 48 pass 49 49 matric_no = ds.get('matric_no') 50 res = context.students_catalog(matric_no = matric_no) 51 if res: 52 psm = "Student with matric_no %s exists with Id: %s" % (matric_no,res[0].id) 53 return context.add_student_form(rendered = rendered, 50 if matric_no: 51 res = context.students_catalog(matric_no = matric_no) 52 if res: 53 psm = "Student with matric_no %s exists with Id: %s" % (matric_no,res[0].id) 54 return context.add_student_form(rendered = rendered, 54 55 psm = psm, 55 56 #psm = "%s, %s" % (psm,ds),
Note: See TracChangeset for help on using the changeset viewer.