Changeset 1809
- Timestamp:
- 23 May 2007, 04:56:35 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SRP/trunk/Students.py
r1806 r1809 230 230 #students_folder = self.portal_catalog({'meta_type': 'StudentsFolder'})[-1].getObject() 231 231 students_folder = self.portal_url.getPortalObject().campus.students 232 #entry_levels ={'ume_ft':'100',233 #'de_ft': '200',234 #'ug_pt': '100',235 #'de_pt': '200',236 #'pg_ft': '700',237 #'pg_pt': '700',238 #'dp_pt': '100',239 #'dp_ft': '100',240 #}232 levels = {'ume_ft':'100', 233 'de_ft': '200', 234 'ug_pt': '100', 235 'de_pt': '200', 236 'pg_ft': '700', 237 'pg_pt': '700', 238 'dp_pt': '100', 239 'dp_ft': '100', 240 } 241 241 csv_d = {'jamb_reg_no': "reg_no", 242 242 'entry_mode': 'entry_mode', … … 328 328 catalog_entry['email'] = da['app_email'] 329 329 catalog_entry['entry_mode'] = da['entry_mode'] 330 #catalog_entry['entry_level'] = da["entry_level"] = entry_levels.get(da['entry_mode'],'100')331 330 app = student.application 332 331 app_doc = app.getContent() … … 394 393 study_course = student.study_course 395 394 dsc = {} 396 #catalog_entry['level'] = getattr(cert_doc,'start_level') 395 catalog_entry['level'] = dsc['current_level'] = entry_levels.get(da['entry_mode'],'100') 396 #catalog_entry['level'] = dsc['current_level'] = '100' # Attention: not for DE students 397 397 catalog_entry['session'] = dsc['current_session'] = da['entry_session'] 398 #catalog_entry['level'] = dsc['current_level'] = entry_levels.get(da['entry_mode'],'100')399 398 catalog_entry['mode'] = dsc['current_mode'] = da['entry_mode'] 400 catalog_entry['level'] = dsc['current_level'] = '100' # Attention: not for DE students401 399 catalog_entry['course'] = dsc['study_course'] = cert_id 402 400 catalog_entry['faculty'] = certificate['faculty']
Note: See TracChangeset for help on using the changeset viewer.