Changeset 1806


Ignore:
Timestamp:
22 May 2007, 21:09:28 (18 years ago)
Author:
Henrik Bettermann
Message:

some changes to enable import of admitted students (with createStudents)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • WAeUP_SRP/trunk/Students.py

    r1805 r1806  
    303303            middlename = result.get(csv_d['jamb_middlename'])
    304304            lastname = result.get(csv_d['jamb_lastname'])
     305            perm_address = result.get(csv_d['perm_address'])
    305306            sid = self.generateStudentId('x')
    306307            students_folder.invokeFactory('Student', sid)
     
    361362            dp['email'] = da['app_email']
    362363            dp['sex'] = sex
     364            dp['perm_address'] = perm_address
    363365            catalog_entry['name'] = "%(firstname)s %(middlename)s %(lastname)s" % dp
    364366            student.invokeFactory('StudentPersonal','personal')
     
    396398            #catalog_entry['level'] = dsc['current_level'] = entry_levels.get(da['entry_mode'],'100')
    397399            catalog_entry['mode'] = dsc['current_mode'] = da['entry_mode']
     400            catalog_entry['level'] = dsc['current_level'] = '100'  # Attention: not for DE students
    398401            catalog_entry['course'] = dsc['study_course'] = cert_id
    399402            catalog_entry['faculty'] = certificate['faculty']
Note: See TracChangeset for help on using the changeset viewer.