Changeset 7406 for main/waeup.sirp/trunk/src/waeup/sirp/applicants
- Timestamp:
- 20 Dec 2011, 10:59:52 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.sirp/trunk/src/waeup/sirp/applicants/applicant.py
r7391 r7406 95 95 return False, 'No course admitted provided.' 96 96 # Add student object 97 site = grok.getSite()98 site['students'].addStudent(student)99 100 self.student_id = student.student_id101 IWorkflowInfo(self).fireTransition('create')102 103 # Copy some base data104 97 student.firstname = self.firstname 105 98 student.lastname = self.lastname … … 108 101 student.email = self.email 109 102 student.phone = self.phone 103 site = grok.getSite() 104 site['students'].addStudent(student) 105 self.student_id = student.student_id 106 IWorkflowInfo(self).fireTransition('create') 107 108 # Set password 110 109 111 110 # Save the certificate
Note: See TracChangeset for help on using the changeset viewer.