Changeset 144 for waeup_product/trunk/skins/waeup_faculty
- Timestamp:
- 3 Nov 2005, 08:41:59 (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
waeup_product/trunk/skins/waeup_faculty/create_course.py
r142 r144 2 2 # $Id$ 3 3 """ 4 Create a Faculty4 Create a Course 5 5 6 6 """ … … 28 28 create = 1, 29 29 type_name = type_name, 30 #psm = str(ds),31 30 psm = 'Please correct your errors', 32 31 ) … … 41 40 oid = "%s" % ds.get('code').replace(' ','') 42 41 context.invokeFactory(type_name,oid) 43 object = getattr(context,oid) 42 object = getattr(context,oid) 43 ds.set('title',ds.get('heading')) 44 44 object.getContent().edit(mapping=ds,proxy=object) 45 45 context.notifyCPSDocumentCreation(ob=object)
Note: See TracChangeset for help on using the changeset viewer.