Changeset 441 for WAeUP_SRP


Ignore:
Timestamp:
29 Aug 2006, 12:30:03 (18 years ago)
Author:
joachim
Message:

create empty student_admission object during import

File:
1 edited

Legend:

Unmodified
Added
Removed
  • WAeUP_SRP/trunk/Students.py

    r440 r441  
    102102                logger.info('%(tr_count)s: Creating Student with ID %(sid)s Matric_no %(matric_no)s ' % vars())
    103103                s = getattr(self,sid)
     104                s.invokeFactory('StudentAdmission','admission')
     105                s.admission.getContent().edit(mapping={'Title': 'Admission Data'})
    104106                s.invokeFactory('StudentPersonal','personal')
    105107                sp = s.personal
Note: See TracChangeset for help on using the changeset viewer.