Changeset 10628
- Timestamp:
- 20 Sep 2013, 16:51:08 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.kwarapoly/trunk/src/waeup/kwarapoly/applicants/browser.py
r10590 r10628 46 46 value for value in UG_OMIT_EDIT_FIELDS 47 47 if not value in ('jamb_subjects', 'jamb_score')] 48 49 PREJAMBITES_OMIT_EDIT_FIELDS = UG_OMIT_EDIT_FIELDS + [ 50 'firstname', 51 'middlename', 52 'lastname', 53 'sex', 'jamb_score' 54 ] 48 55 49 56 class CustomApplicantsContainerPage(ApplicantsContainerPage): … … 136 143 for field in ND_OMIT_EDIT_FIELDS: 137 144 form_fields = form_fields.omit(field) 145 elif self.target is not None and self.target.startswith('prejambites'): 146 for field in PREJAMBITES_OMIT_EDIT_FIELDS: 147 form_fields = form_fields.omit(field) 138 148 else: 139 149 for field in UG_OMIT_EDIT_FIELDS:
Note: See TracChangeset for help on using the changeset viewer.