Changes between Version 15 and Version 16 of CookBookNewformsAdminAndUser
- Timestamp:
- Aug 12, 2008, 10:24:37 AM (16 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
CookBookNewformsAdminAndUser
v15 v16 41 41 instance.save() 42 42 43 form.save_m2m() 44 43 45 return instance 44 46 … … 51 53 if formset.__name__ == 'CommentInline': 52 54 instances = formset.save(commit=False) 53 return map(set_user, instances) 55 map(set_user, instances) 56 formset.save_m2m() 54 57 else: 55 58 return formset.save()