- Timestamp:
- 18 Jun 2019, 05:47:35 (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.aaue/trunk/src/waeup/aaue/applicants/interfaces.py
r15455 r15459 875 875 ) 876 876 877 # course1 works only on manage pages. On edit pages course1 input is missing 878 # and no Invalid exception is raised. 879 # NoInputData: NoInputD...course1' 880 # Therefore, we check and compare course1 on CustomApplicantEditFormPage. 881 @invariant 882 def course_choice(applicant): 883 if applicant.course2 == applicant.course3: 884 raise Invalid(_("3rd choice course must differ from 2nd choice course.")) 885 877 886 #ICustomUGApplicantEdit['programme_type'].order = ICustomUGApplicant[ 878 887 # 'programme_type'].order
Note: See TracChangeset for help on using the changeset viewer.