Changes between Version 15 and Version 16 of CookBookNewformsAdminAndUser


Ignore:
Timestamp:
Aug 12, 2008, 10:24:37 AM (16 years ago)
Author:
oyvind
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • CookBookNewformsAdminAndUser

    v15 v16  
    4141        instance.save()
    4242
     43        form.save_m2m()
     44
    4345        return instance
    4446
     
    5153        if formset.__name__ == 'CommentInline':
    5254            instances = formset.save(commit=False)
    53             return map(set_user, instances)
     55            map(set_user, instances)
     56            formset.save_m2m()
    5457        else:
    5558            return formset.save()
Back to Top