Changeset 3327 for WAeUP_SRP/base
- Timestamp:
- 13 Mar 2008, 09:07:48 (17 years ago)
- Location:
- WAeUP_SRP/base
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SRP/base/WAeUPImport.py
r3326 r3327 441 441 if msg: 442 442 break 443 student_id = student_record.id 443 444 level_id = mapping.get('level_id','') 444 445 code = mapping.get('code','') -
WAeUP_SRP/base/WAeUPTool.py
r3326 r3327 1639 1639 #mapping['import_date'] = DateTime.DateTime() 1640 1640 mapping['import_date'] = import_date 1641 mapping['imported_by'] = member1641 mapping['imported_by'] = importer.imported_by 1642 1642 mapping['import_message'] = msg 1643 1643 upload_doc.edit(mapping = mapping) -
WAeUP_SRP/base/skins/waeup_upload/import_uploads.py
r3324 r3327 43 43 context.portal_catalog.setBypassQueue(1) 44 44 context.waeup_tool.doCommit() 45 45 46 46 msg = context.waeup_tool.importData(short_id, 47 47 doc.import_layout, -
WAeUP_SRP/base/skins/waeup_upload/uploads_index.py
r3325 r3327 87 87 row['msg'] = import_message 88 88 if getattr(doc,'import_date',''): 89 row['import_date'] = doc.import_date 89 row['import_date'] = doc.import_date.strftime("%d/%m/%y %H:%M:%S") 90 90 else: 91 91 row['import_date'] = '' 92 92 add_to = imported 93 93 94 94 else: 95 95 row['msg'],row['fields'] = doc['checkKeys']()
Note: See TracChangeset for help on using the changeset viewer.