Changes between Version 18 and Version 19 of CookBookNewformsAdminAndUser


Ignore:
Timestamp:
12/09/08 12:07:59 (6 years ago)
Author:
rajeshdhawan
Comment:

Used formset.model instead of formset.name

Legend:

Unmodified
Added
Removed
Modified
  • CookBookNewformsAdminAndUser

    v18 v19  
    5151            instance.save()
    5252
    53         if formset.__name__ == 'CommentInline':
     53        if formset.model == Comment:
    5454            instances = formset.save(commit=False)
    5555            map(set_user, instances)
Back to Top