Changeset 1749 for WAeUP_SRP/trunk/Students.py
- Timestamp:
- 8 May 2007, 05:56:20 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SRP/trunk/Students.py
r1728 r1749 519 519 catalog_entry['level'] = '100' 520 520 dsc['study_course'] = cert_id 521 dsc['entry_level'] = '100'521 #dsc['entry_level'] = '100' 522 522 #dsc['entry_session'] = jamb.get(csv_d['session']) 523 523 study_course.getContent().edit(mapping=dsc) … … 546 546 wftool = self.portal_workflow 547 547 students_folder = self.portal_catalog({'meta_type': 'StudentsFolder'})[-1].getObject() 548 entry_levels = {'ume_ft':'100',549 'de_ft': '200',550 'ug_pt': '100',551 'de_pt': '200',552 'pg_ft': '700',553 'pg_pt': '700',554 'dp_pt': '100',555 'dp_ft': '100',548 #entry_levels = {'ume_ft':'100', 549 # 'de_ft': '200', 550 # 'ug_pt': '100', 551 # 'de_pt': '200', 552 # 'pg_ft': '700', 553 # 'pg_pt': '700', 554 # 'dp_pt': '100', 555 # 'dp_ft': '100', 556 556 } 557 557 csv_d = {'jamb_reg_no': "reg_no", … … 640 640 catalog_entry['email'] = da['app_email'] 641 641 catalog_entry['entry_mode'] = da['entry_mode'] 642 catalog_entry['entry_level'] = da["entry_level"] = entry_levels.get(da['entry_mode'],'100')642 #catalog_entry['entry_level'] = da["entry_level"] = entry_levels.get(da['entry_mode'],'100') 643 643 app = student.application 644 644 app_doc = app.getContent() … … 707 707 #catalog_entry['level'] = getattr(cert_doc,'start_level') 708 708 catalog_entry['session'] = dsc['current_session'] = da['entry_session'] 709 catalog_entry['level'] = dsc['current_level'] = entry_levels.get(da['entry_mode'],'100')709 #catalog_entry['level'] = dsc['current_level'] = entry_levels.get(da['entry_mode'],'100') 710 710 catalog_entry['mode'] = dsc['current_mode'] = da['entry_mode'] 711 711 catalog_entry['course'] = dsc['study_course'] = cert_id
Note: See TracChangeset for help on using the changeset viewer.