Changeset 55
- Timestamp:
- 17 Oct 2005, 11:37:09 (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
waeup_product/trunk/skins/waeup_student/check_admission.py
r48 r55 35 35 elif psm == 'valid': 36 36 s_id = "s%s" % ds.get('jamb_id') 37 if not hasattr(context,s_id): 37 sf = getattr(context,s_id,None) 38 if sf is None: 39 psm = "Your not admitted" 38 40 return context.check_admission_form(rendered = res, 39 psm = "Your not admitted yet", 41 psm = psm, 42 ds = ds, 43 ) 44 elif hasattr(sf,'PERSONAL'): 45 psm = "Your already admitted" 46 return context.check_admission_form(rendered = res, 47 psm = psm, 40 48 ds = ds, 41 49 )
Note: See TracChangeset for help on using the changeset viewer.